Provides helper to generate html elements
var Handlebars = require("handlebars");
var ElHelper = require("handlebars.el");
ElHelper.registerHelper(Handlebars);
Returns
ElHelper instance
- Type
- object
- Source:
Methods
(static) registerHelper(hbars, helperNameopt)
Register Phrase helper with Handlebars
Parameters
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
hbars |
object | Handlebars instance |
||
helperName |
string |
<optional> |
el | Helper name |
- Source: