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