capturing handler
JS ⟩ browser ⟩ event ⟩ handler ⟩ register ⟩ capturing handler
set the third argument to addEventListener() to true:
If you want to remove a capturing event handler, you must also pass true as the third argument to removeEventListener().
Last updated