TouchEvent
Module: JavaScript DOM API
#include <TouchEvent.idl>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| TouchEvent | TouchEvent(DOMInternedString type, optional TouchEventInit eventInitDict) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| readonly attribute TouchList | touches |
| readonly attribute boolean | ctrlKey |
| readonly attribute boolean | shiftKey |
| readonly attribute boolean | altKey |
| readonly attribute boolean | metaKey |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from UIEvent
| Name | |
|---|---|
| UIEvent | UIEvent(DOMInternedString type, optional UIEventInit initEvent) |
| void | initUIEvent(optional DOMInternedString type, optional boolean canBubble, optional boolean cancelable, optional Window? view, optional long detail) |
Public Attributes inherited from UIEvent
| Name | |
|---|---|
| readonly attribute long | detail |
Public Functions inherited from Event
| Name | |
|---|---|
| Event | Event(DOMInternedString type, optional EventInit initEvent) |
| void | stopPropagation() |
| void | preventDefault() |
| void | initEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg) |
| void | stopImmediatePropagation() |
Public Attributes inherited from Event
| Name | |
|---|---|
| const unsigned short | NONE |
| const unsigned short | CAPTURING_PHASE |
| const unsigned short | AT_TARGET |
| const unsigned short | BUBBLING_PHASE |
| readonly attribute DOMString | type |
| readonly attribute EventTarget | target |
| readonly attribute EventTarget | currentTarget |
| readonly attribute unsigned short | eventPhase |
| readonly attribute boolean | bubbles |
| readonly attribute boolean | cancelable |
| readonly attribute boolean | defaultPrevented |
| readonly attribute boolean | composed |
Public Functions Documentation
Section titled “Public Functions Documentation”function TouchEvent
Section titled “function TouchEvent”TouchEvent TouchEvent( DOMInternedString type, optional TouchEventInit eventInitDict)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable touches
Section titled “variable touches”readonly attribute TouchList touches;variable ctrlKey
Section titled “variable ctrlKey”readonly attribute boolean ctrlKey;variable shiftKey
Section titled “variable shiftKey”readonly attribute boolean shiftKey;variable altKey
Section titled “variable altKey”readonly attribute boolean altKey;variable metaKey
Section titled “variable metaKey”readonly attribute boolean metaKey;© 2026 Coherent Labs. All rights reserved.