Classes
UIEvent
Extends
Extended by
Implements
Constructors
new UIEvent()
new UIEvent(type, options?): UIEvent
Parameters
| Parameter | Type | 
|---|---|
type | string | 
options? | UIEventInit | 
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from | 
|---|---|---|---|
AT_TARGET | readonly | 2 | globalThis.UIEvent.AT_TARGET Event.AT_TARGET | 
BUBBLING_PHASE | readonly | 3 | globalThis.UIEvent.BUBBLING_PHASE Event.BUBBLING_PHASE | 
CAPTURING_PHASE | readonly | 1 | globalThis.UIEvent.CAPTURING_PHASE Event.CAPTURING_PHASE | 
NONE | readonly | 0 | globalThis.UIEvent.NONE Event.NONE | 
bubbles | readonly | boolean | globalThis.UIEvent.bubbles Event.bubbles | 
cancelBubble | public | boolean | globalThis.UIEvent.cancelBubble Event.cancelBubble | 
cancelable | readonly | boolean | globalThis.UIEvent.cancelable Event.cancelable | 
composed | readonly | boolean | globalThis.UIEvent.composed Event.composed | 
currentTarget | readonly | null | EventTarget | globalThis.UIEvent.currentTarget Event.currentTarget | 
defaultPrevented | readonly | boolean | globalThis.UIEvent.defaultPrevented Event.defaultPrevented | 
detail | readonly | number | - | 
eventPhase | readonly | number | globalThis.UIEvent.eventPhase Event.eventPhase | 
isTrusted | readonly | boolean | globalThis.UIEvent.isTrusted Event.isTrusted | 
returnValue | public | boolean | globalThis.UIEvent.returnValue Event.returnValue | 
srcElement | readonly | null | EventTarget | globalThis.UIEvent.srcElement Event.srcElement | 
target | readonly | null | EventTarget | globalThis.UIEvent.target Event.target | 
timeStamp | readonly | number | globalThis.UIEvent.timeStamp Event.timeStamp | 
type | readonly | string | globalThis.UIEvent.type Event.type | 
view | readonly | null | - | 
which | readonly | number | - | 
AT_TARGET | readonly | 2 | Event.AT_TARGET | 
BUBBLING_PHASE | readonly | 3 | Event.BUBBLING_PHASE | 
CAPTURING_PHASE | readonly | 1 | Event.CAPTURING_PHASE | 
NONE | readonly | 0 | Event.NONE | 
Methods
composedPath()
composedPath(): EventTarget[]
Returns
Implementation of
globalThis.UIEvent.composedPath
Inherited from
initEvent()
initEvent(type, bubbles?, cancelable?): void
Parameters
| Parameter | Type | 
|---|---|
type | string | 
bubbles? | boolean | 
cancelable? | boolean | 
Returns
void
Implementation of
globalThis.UIEvent.initEvent
Inherited from
initUIEvent()
initUIEvent(): void
Returns
void
Implementation of
globalThis.UIEvent.initUIEvent
preventDefault()
preventDefault(): void
Returns
void
Implementation of
globalThis.UIEvent.preventDefault
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void
Returns
void
Implementation of
globalThis.UIEvent.stopImmediatePropagation
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Returns
void
Implementation of
globalThis.UIEvent.stopPropagation