attributeChangedCallback(attrName, oldVal, newVal):監聽的屬性有變動時會被呼叫,要搭配observedAttributes() 使用。
確定! 回上一頁