注意:只有加入 observedAttributes 的属性才会执行这个方法。 adoptedCallback() :自定义元素移动到新的document 时调用,比如执行 document.
確定! 回上一頁