- .prototype.attributeChangedCallback(name, oldValue, newValue)
- document.registerElement(name, [options])
|name||The name of the new custom element.|
|options.extends||The name of the native element being extended, if any.|
|options.prototype||The custom prototype to use for the custom element, if any.|
Note that the Custom Elements specification has not yet been standardized, and is subject to change. The documentation describes the version that’s been shipped in Chrome stable at this time.
Table Of Contents