can-component
Version:
Custom elements for CanJS
10 lines (7 loc) • 384 B
Markdown
String} can-component.prototype.tag tag
can-component.define 1
Specifies the HTML tag (or node-name) the [can-component] will be created on.
{String} The tag name the [can-component]
will be created on. Tag names should be lower cased and
hyphenated like: `foo-bar`. Components register their
tag with [can-view-callbacks.tag can-view-callbacks.tag()].
{