nx.js
Classes

Event

Extended by

Implements

Constructors

new Event()

new Event(type, options?): Event

Parameters

ParameterType
typestring
options?EventInit

Returns

Event

Properties

PropertyModifierType
AT_TARGETreadonly2
BUBBLING_PHASEreadonly3
CAPTURING_PHASEreadonly1
NONEreadonly0
bubblesreadonlyboolean
cancelBubblepublicboolean
cancelablereadonlyboolean
composedreadonlyboolean
currentTargetreadonlynull | EventTarget
defaultPreventedreadonlyboolean
eventPhasereadonlynumber
isTrustedreadonlyboolean
returnValuepublicboolean
srcElementreadonlynull | EventTarget
targetreadonlynull | EventTarget
timeStampreadonlynumber
typereadonlystring
AT_TARGETreadonly2
BUBBLING_PHASEreadonly3
CAPTURING_PHASEreadonly1
NONEreadonly0

Methods

composedPath()

composedPath(): EventTarget[]

Returns

EventTarget[]

Implementation of

globalThis.Event.composedPath


initEvent()

initEvent(type, bubbles?, cancelable?): void

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean

Returns

void

Implementation of

globalThis.Event.initEvent


preventDefault()

preventDefault(): void

Returns

void

Implementation of

globalThis.Event.preventDefault


stopImmediatePropagation()

stopImmediatePropagation(): void

Returns

void

Implementation of

globalThis.Event.stopImmediatePropagation


stopPropagation()

stopPropagation(): void

Returns

void

Implementation of

globalThis.Event.stopPropagation

On this page