tagData
The data passed to tag.
The data passed to tag.
Object
{renderer(data, helpers, nodeList)}
:
If the special tag has content, the content can be rendered with sub-template. For example:
callbacks.tag("foo-bar", function(el, tagData) {
var frag = tagData.subtemplate(tagData.scope, tagData.options);
$(el).html(frag);
});
{can-view-scope}
:
The scope of the element.
{Options}
:
The mustache helpers and other non-data values passed to the template.