Polymer supports extending custom element prototypes with shared code modules called behaviors. A behavior is an object that looks similar to a typical Polymer prototype. A behavior can define lifecycle callbacks, declared properties, default attributes, observers, and event listeners. To add a b...
暂无评论