TouchEvent class

Inheritance
Annotations
  • @Native("TouchEvent")

Constructors

TouchEvent(String type, [Map? eventInitDict])
factory

Properties

altKey bool?
no setter
bubbles bool?
no setterinherited
cancelable bool?
no setterinherited
changedTouches TouchList?
no setter
composed bool?
no setterinherited
ctrlKey bool?
no setter
currentTarget EventTarget?
no setterinherited
defaultPrevented bool
no setterinherited
detail int?
no setterinherited
eventPhase int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTrusted bool?
no setterinherited
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.
no setterinherited
metaKey bool?
no setter
path List<EventTarget>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shiftKey bool?
no setter
sourceCapabilities InputDeviceCapabilities?
no setterinherited
target EventTarget?
no setterinherited
targetTouches TouchList?
no setter
timeStamp num?
no setterinherited
touches TouchList?
no setter
type String
no setterinherited
view WindowBase?
no setterinherited

Methods

composedPath() List<EventTarget>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

supported bool
Checks if touch events supported on the current platform.
no setter