html5 - What is HTML "is" attribute? -
i have seen lot here , there, yet find description or documentation it!
<paper-input-decorator label="your name"> <input is="core-input"> </paper-input-decorator>
in 2017:
there no is
attribute in html.
it proposed extension appears in custom elements specification (which evolved polymer spec mentioned below).
it allows existing, standard element custom element.
<button is="fancy-button" disabled>fancy button!</button>
… allows backwards compatibility. if custom elements not supported browser (the spec still draft , has very limited browser support) fall default behaviour.
in 2014:
it not html. expando-attribute polymer custom elements.
if used extends create polymer element derives existing dom element (something other htmlelement), use
is
syntax
Comments
Post a Comment