答案 0 :(得分:1)
<polymer-element name="extended-fab" extends="paper-fab" attributes="label" noscript>
<template>
{{label}}
</template>
</polymer-element>
<extended-fab label="label"></extended-fab>
你也可以
<polymer-element name="extended-fab" extends="paper-fab" noscript>
<template>
<content></content>
</template>
</polymer-element>
<extended-fab>label</extended-fab>