Page Layout with Region
Page Layout
var template = Handlebars.compile(html);
var html = template(shContent);
html;
<html>
<head>
<title>Page Layout Sample Code</title>
</head>
<body>
Hello World
<div sh-region="MY-FIRST-REGION"></div>
</body>
</html>
Region - MY-FIRST-REGION
var template = Handlebars.compile(html);
var html = template(shContent);
html;
<div>
It works!
</div>
Updated about 5 years ago