render
can.EJS.prototype.render
Render a view object with data and helpers.
ejs.render(data[, helpers])
Parameters
-
data
{Object}
OptionalThe data to populate the template with.
-
helpers
{Object<String,function()>}
OptionalHelper methods referenced in the template.
Returns
{String}
The template with interpolated data.
Renders an object with view helpers attached to the view.