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