📌  相关文章
📜  未捕获的 DOMException:无法构造“CustomElement”:结果不能有子级 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:23.695000             🧑  作者: Mango

代码示例1
The constructor for a custom element is not supposed to read or write its DOM. It shouldn't create child elements, or modify attributes. That work needs to be done later, usually in a connectedCallback() method.....