Custom element registry for the view. It allows to register new custom elements. More...
Public Member Functions | |
void | define (DOMString name, AnyCallback constructor, optional ElementDefinitionOptions options) |
Define a new custom element. More... | |
Custom element registry for the view. It allows to register new custom elements.
void CustomElementRegistry::define | ( | DOMString | name, |
AnyCallback | constructor, | ||
optional ElementDefinitionOptions | options | ||
) |
Define a new custom element.
name | the tag for the new custom element. Must include a dash |
constructor | the constructor that is to be used whenever an instance of the custom element is created |
options | options for the custom element |