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