在我的自定义元素的connectedCallback()方法中,textContent作为空字符串返回。console.log(this.textContent) // not available here, but understandable super.connectedCallback() // makes no difference i
class Form extends HTMLElement { super()
connectedCallback() {)
}
如果我在控制台中展开innerHTML,那么现在我正在尝试访问console.log(this)的innerHTML为什么即使在connectedCallback中,我也无法访问标记中的</em