renderer
A function returned by can-stache that renders a template into an html documentFragment.
renderer(data, [helpers], [nodeList])
A "renderer" function is a function returned by templates that can be used to render data into a documentFragment.
Parameters
- data
{Object}
:An object of data used to render the template.
- helpers
{Object<String,function>}
:Local helper functions used by the template.
- nodeList
{NodeList}
:Local helper functions used by the template.
Returns
{documentFragment}
:
A documentFragment that contains the HTML rendered by the template.