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