new HandlebarsTemplateEngine()
A template engine that uses the Handlebars library.
Methods
setExtension(extension) → {HandlebarsTemplateEngine}
Set the extension for the engine
Parameters:
Name | Type | Description |
---|---|---|
extension |
string | the extension |
Returns:
a reference to this for fluency
- Type
- HandlebarsTemplateEngine
setMaxCacheSize(maxCacheSize) → {HandlebarsTemplateEngine}
Set the max cache size for the engine
Parameters:
Name | Type | Description |
---|---|---|
maxCacheSize |
number | the maxCacheSize |
Returns:
a reference to this for fluency
- Type
- HandlebarsTemplateEngine