I have seen it a lot here and there, yet I could find any description or documentation about it!
Example:
<paper-input-decorator label="Your Name"> <input is="core-input"> </paper-input-decorator>
An HTML attribute is a piece of markup language used to adjust the behavior or display of an HTML element. For example, attributes can be used to change the color, size, or functionality of HTML elements. Attributes are used by including them in an opening HTML tag: <tag_name attribute_name="value">Content</tag_name>
There is no is attribute in HTML. It is a proposed extension that appears in the Custom Elements specification (which evolved from the Polymer spec mentioned below). It allows you to say that an existing, standard element is really a custom element. … which allows for backwards compatibility.
It is part of the W3C Draft spec for Web Components' Custom Elements.
Latest Working Draft: http://www.w3.org/TR/custom-elements/#type-extension-semantics
Latest Editor's Draft: http://w3c.github.io/webcomponents/spec/custom/#type-extension-example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With