class
TouchEvent

(Not documented.)

Annotations
  • DomName('TouchEvent')
  • Experimental()
Extends

Static Properties

bool supported
read-only
Checks if touch events supported on the current platform.

Properties

bool altKey
read-only
TouchList changedTouches
read-only
bool ctrlKey
read-only
bool metaKey
read-only
bool shiftKey
read-only
TouchList targetTouches
read-only
TouchList touches
read-only
Element matchingTarget
read-only , inherited
A pointer to the element whose CSS selector matched within which an event was fired. If this Event was not associated with any Event delegation, accessing this value will throw an [UnsupportedError].
bool bubbles
read-only , inherited
bool cancelable
read-only , inherited
DataTransfer clipboardData
read-only , inherited
Access to the system's clipboard data during copy, cut, and paste events.
EventTarget currentTarget
read-only , inherited
bool defaultPrevented
read-only , inherited
int eventPhase
read-only , inherited
List<Node> path
read-only , inherited
This event's path, taking into account shadow DOM.
EventTarget target
read-only , inherited
int timeStamp
read-only , inherited
String type
read-only , inherited
int detail
read-only , inherited
WindowBase view
read-only , inherited
int which
read-only , inherited
Point layer
read-only , inherited
Point page
read-only , inherited

Constructors

TouchEvent(TouchList touches, TouchList targetTouches, TouchList changedTouches, String type, {Window view, int screenX: 0, int screenY: 0, int clientX: 0, int clientY: 0, bool ctrlKey: false, bool altKey: false, bool shiftKey: false, bool metaKey: false})

Methods

preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited