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

Static Properties

instanceRuntimeType Type

read-only
supported bool

Checks if touch events supported on the current platform.

read-only

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 })

factory
TouchEvent.internal_()

Properties

altKey bool

read-only
changedTouches TouchList

read-only
ctrlKey bool

read-only
metaKey bool

read-only
shiftKey bool

read-only
targetTouches TouchList

read-only
touches TouchList

read-only
bubbles bool

read-only, inherited
cancelable bool

read-only, inherited
currentTarget EventTarget

read-only, inherited
defaultPrevented bool

read-only, inherited
detail int

read-only, inherited
eventPhase int

read-only, inherited
hashCode int

read-only, inherited
matchingTarget Element

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.

read-only, inherited
path List<EventTarget>

This event's path, taking into account shadow DOM.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
sourceDevice InputDevice

read-only, inherited
target EventTarget

read-only, inherited
timeStamp int

read-only, inherited
type String

read-only, inherited
view WindowBase

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
preventDefault() → void

DocsEditable(), DomName('Event.preventDefault'), inherited
stopImmediatePropagation() → void

DocsEditable(), DomName('Event.stopImmediatePropagation'), inherited
stopPropagation() → void

DocsEditable(), DomName('Event.stopPropagation'), inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited