Members
(static) dependencies :Array.<string>
- Source:
Class dependencies:
['view.resolver', 'view.engine']
.
Methods
make(name, data)
- Source:
Create a rendered template from a view name and data.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The view name. |
data |
* | The view-model data. |
Returns:
The rendered view template.
- Type
- string