Écouteur d'événements JavaScript One Time

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