External module "templates"
Functions
template
- template(template: string, __namedParameters?: object): function
-
Parameters
-
template: string
-
Default value __namedParameters: object = {}
-
dataName: string
-
outName: string
Returns function
Template function
-
-
Parameters
Returns string
Create a template function. Syntax for template is
{{property}}
or{{ if (someCondition} { out.push(someProp) } }}