因此,在Web组件中,一旦您指定了要使用 static get observedAttributes() { return ['myAttribute']; } 进行观察的属性,就可以使用attributeChangedCallback。
確定! 回上一頁