什么是HTML“是”属性?

问题描述:

我已经在这里看到了很多,但是我可以找到关于它的任何描述或文档。

I have seen it a lot here and there, yet I could find any description or documentation about it!

示例:

<paper-input-decorator label="Your Name">
    <input is="core-input">
</paper-input-decorator>


不是HTML。它是聚合物自定义元素的expando属性。

It is not HTML. It is an expando-attribute for Polymer custom elements.


如果您使用扩展名创建一个派生自现有DOM元素(HTMLElement以外的其他元素)的聚合物元素,请使用 语法