Event for when an element is added/removed from the DOM, without knowing the parent element

后端 未结 0 1967
粉色の甜心
粉色の甜心 2021-01-30 18:38

I have a function similar to this:

function makeSomeElement() {
    const out = document.createElement("div");
    // do some things with out

    // ps         


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