javascript one off event listener

43

javascript one off event listener -

EventTarget.addEventListener("click", function() {
    // Do something
}, {once : true});

Comments

Submit
0 Comments