Skip to main content

getBrowserDispatchEvent

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/runtime/browserRuntime / getBrowserDispatchEvent

Function: getBrowserDispatchEvent()

getBrowserDispatchEvent(): ((event: Event) => boolean) | undefined

Defined in: utils/runtime/browserRuntime.ts:262

Returns​

Function​

(event: Event) => boolean

The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().

MDN Reference

Parameters​

event​

Event

Returns​

boolean


undefined