Why does the connectedCallback not work for native HTMLElement(not custom elements)?

后端 未结 0 1609
心在旅途
心在旅途 2021-02-02 10:26

I know connectedCallback is for custom elements. I wonder how to make the following snippet work:

const div = document.crea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题