html5 - What is HTML "is" attribute? -


i have seen lot here , there, yet find description or documentation it!

example:

<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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -