Skip to main content

dispatchEvent

method EventTarget.dispatchEvent
Jump to headingEventTarget.dispatchEvent(event: Event): boolean

Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

Parameters Jump to heading

Return Type Jump to heading

boolean
Back to top