🔰event dispatching
🚧 under construction -> cancellable events
return value of EventTarget ⟩ .dispatchEvent(event)
false
if
eventis cancelable, andat least one of the event's handlers called .preventDefault().
true, otherwise.
the return value of an event handler is related to canceling the default actions.
Last updated
Was this helpful?