🔰handler options
JS ⟩ browser ⟩ event ⟩ handler ⟩ register ⟩ options
capture
: -> Bubbling and capturing.options
can also befalse/true
, that’s the same as{capture: false/true}
.passive
: -> Browser default actions.
If you pass true to the optional 3rd argument to addEventListener(), the handler is registered as a capturing event handler.
Last updated