TouchEvent

Module: JavaScript DOM API

#include <TouchEvent.idl>

Inherits from UIEvent, Event

Public Functions

Name
TouchEventTouchEvent(DOMInternedString type, optional TouchEventInit eventInitDict)

Public Attributes

Name
readonly attribute TouchListtouches
readonly attribute booleanctrlKey
readonly attribute booleanshiftKey
readonly attribute booleanaltKey
readonly attribute booleanmetaKey

Additional inherited members

Public Functions inherited from UIEvent

Name
UIEventUIEvent(DOMInternedString type, optional UIEventInit initEvent)
voidinitUIEvent(optional DOMInternedString type, optional boolean canBubble, optional boolean cancelable, optional Window? view, optional long detail)

Public Functions inherited from Event

Name
EventEvent(DOMInternedString type, optional EventInit initEvent)
voidstopPropagation()
voidpreventDefault()
voidinitEvent(optional DOMInternedString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg)
voidstopImmediatePropagation()

Public Attributes inherited from Event

Name
const unsigned shortNONE
const unsigned shortCAPTURING_PHASE
const unsigned shortAT_TARGET
const unsigned shortBUBBLING_PHASE
readonly attribute DOMStringtype
readonly attribute EventTargettarget
readonly attribute EventTargetcurrentTarget
readonly attribute unsigned shorteventPhase
readonly attribute booleanbubbles
readonly attribute booleancancelable
readonly attribute booleandefaultPrevented
readonly attribute booleancomposed

Public Functions Documentation

function TouchEvent

TouchEvent TouchEvent(
    DOMInternedString type,
    optional TouchEventInit eventInitDict
)

Public Attributes Documentation

variable touches

readonly attribute TouchList touches;

variable ctrlKey

readonly attribute boolean ctrlKey;

variable shiftKey

readonly attribute boolean shiftKey;

variable altKey

readonly attribute boolean altKey;

variable metaKey

readonly attribute boolean metaKey;