nx.js
Classes

TouchEvent

Extends

Implements

Constructors

new TouchEvent()

new TouchEvent(type, options): TouchEvent

Parameters

ParameterType
typestring
optionsTouchEventInit

Returns

TouchEvent

Overrides

UIEvent.constructor

Properties

PropertyModifierTypeInherited from
AT_TARGETreadonly2globalThis.TouchEvent.AT_TARGET UIEvent.AT_TARGET
BUBBLING_PHASEreadonly3globalThis.TouchEvent.BUBBLING_PHASE UIEvent.BUBBLING_PHASE
CAPTURING_PHASEreadonly1globalThis.TouchEvent.CAPTURING_PHASE UIEvent.CAPTURING_PHASE
NONEreadonly0globalThis.TouchEvent.NONE UIEvent.NONE
altKeyreadonlyboolean-
bubblesreadonlybooleanglobalThis.TouchEvent.bubbles UIEvent.bubbles
cancelBubblepublicbooleanglobalThis.TouchEvent.cancelBubble UIEvent.cancelBubble
cancelablereadonlybooleanglobalThis.TouchEvent.cancelable UIEvent.cancelable
changedTouchesreadonlyTouchList-
composedreadonlybooleanglobalThis.TouchEvent.composed UIEvent.composed
ctrlKeyreadonlyboolean-
currentTargetreadonlynull | EventTargetglobalThis.TouchEvent.currentTarget UIEvent.currentTarget
defaultPreventedreadonlybooleanglobalThis.TouchEvent.defaultPrevented UIEvent.defaultPrevented
detailreadonlynumberglobalThis.TouchEvent.detail UIEvent.detail
eventPhasereadonlynumberglobalThis.TouchEvent.eventPhase UIEvent.eventPhase
isTrustedreadonlybooleanglobalThis.TouchEvent.isTrusted UIEvent.isTrusted
metaKeyreadonlyboolean-
returnValuepublicbooleanglobalThis.TouchEvent.returnValue UIEvent.returnValue
shiftKeyreadonlyboolean-
srcElementreadonlynull | EventTargetglobalThis.TouchEvent.srcElement UIEvent.srcElement
targetreadonlynull | EventTargetglobalThis.TouchEvent.target UIEvent.target
targetTouchesreadonlyTouchList-
timeStampreadonlynumberglobalThis.TouchEvent.timeStamp UIEvent.timeStamp
touchesreadonlyTouchList-
typereadonlystringglobalThis.TouchEvent.type UIEvent.type
viewreadonlynullglobalThis.TouchEvent.view UIEvent.view
whichreadonlynumberglobalThis.TouchEvent.which UIEvent.which
AT_TARGETreadonly2UIEvent.AT_TARGET
BUBBLING_PHASEreadonly3UIEvent.BUBBLING_PHASE
CAPTURING_PHASEreadonly1UIEvent.CAPTURING_PHASE
NONEreadonly0UIEvent.NONE

Methods

composedPath()

composedPath(): EventTarget[]

Returns

EventTarget[]

Implementation of

globalThis.TouchEvent.composedPath

Inherited from

UIEvent.composedPath


initEvent()

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

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean

Returns

void

Implementation of

globalThis.TouchEvent.initEvent

Inherited from

UIEvent.initEvent


initUIEvent()

initUIEvent(): void

Returns

void

Implementation of

globalThis.TouchEvent.initUIEvent

Inherited from

UIEvent.initUIEvent


preventDefault()

preventDefault(): void

Returns

void

Implementation of

globalThis.TouchEvent.preventDefault

Inherited from

UIEvent.preventDefault


stopImmediatePropagation()

stopImmediatePropagation(): void

Returns

void

Implementation of

globalThis.TouchEvent.stopImmediatePropagation

Inherited from

UIEvent.stopImmediatePropagation


stopPropagation()

stopPropagation(): void

Returns

void

Implementation of

globalThis.TouchEvent.stopPropagation

Inherited from

UIEvent.stopPropagation

On this page