removeEventListenerAll
Detaches an event listener from all the provided targets.
- Use
Array.prototype.forEach()
andEventTarget.removeEventListener()
to detach the providedlistener
for the given eventtype
from alltargets
.
Detaches an event listener from all the provided targets.
Array.prototype.forEach()
and EventTarget.removeEventListener()
to detach the provided listener
for the given event type
from all targets
.