๐ฐcapturing phase
If you want to remove a capturing event handler, you must also pass true as the third argument to removeEventListener().
โ ๏ธ event.target's capturing handlers are NOT invokedโ๏ธ
capturing handlers can be used:
for debugging
to filter events so that the target event handlers are never actually invoked.
for handling mouse drags.
Last updated
Was this helpful?