customElementsupgrade()方法升级所有的shadow-containing个自定义元素的节点子树中的文档,甚至在它们连接到主文档之前。 用法: customElements.upgrade(root);.
確定! 回上一頁