生命周期方法
class MyElement extends Polymer.Element {
constructor() { super(); /* ... */ }
ready() { super.ready(); /* ... */ }
connectedCallback() { super.connectedCallback(); /* ... */ }
disconnectedCallback() { super.disconnectedCallback(); /* ... */ }
attributeChangedCallback() { super.attributeChangedCallback(); /* ... */ }
}