Extends
Members
engine :*
- Source:
- Inherited From:
Current engine accessor.
Methods
(abstract) make(view)
Create a template instance.
Parameters:
Name | Type | Description |
---|---|---|
view |
string | The view name. |
Returns:
The template instance.
- Type
- template
(abstract) render(view, data)
Render a template with the given data.
Parameters:
Name | Type | Description |
---|---|---|
view |
string | The view name. |
data |
* | The view-model data. |
Returns:
The rendered template as string.
- Type
- string
setEngine(engine)
- Source:
- Inherited From:
Set current engine.
Parameters:
Name | Type | Description |
---|---|---|
engine |
* | The engine instance. |
Returns:
The current instance.