can-stache
Version:
Live binding handlebars templates
19 lines (11 loc) • 658 B
Markdown
function(Object,Object.<String, function>):documentFragment} can-stache.view(data, helpers) view
can-stache.types
A function returned by [can-stache] that renders a
template into an html documentFragment.
`view(data, [helpers])`
A "view" function is a function returned by templates that can be used
to render data into a documentFragment.
{Object} data An object of data used to render the template.
{Object.<String, function>} [helpers] Local helper functions used by the template.
{documentFragment} A documentFragment that contains the HTML rendered by the template.
{