dart / 2 / dart-html / touchevent-class.html

TouchEvent class

Inheritance
Annotations
  • @Native("TouchEvent")

Constructors

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

Properties

altKey → bool?
read-only
bubbles → bool?
read-only, inherited
cancelable → bool?
read-only, inherited
changedTouches → TouchList?
read-only
composed → bool?
read-only, inherited
ctrlKey → bool?
read-only
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
The hash code for this object.
isTrusted → bool?
read-only, inherited
matchingTarget → Element
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.
metaKey → bool?
read-only
path → List<EventTarget>
read-only, inherited
runtimeType → Type
read-only, inherited
A representation of the runtime type of the object.
shiftKey → bool?
read-only
sourceCapabilities → InputDeviceCapabilities?
read-only, inherited
target → EventTarget?
read-only, inherited
targetTouches → TouchList?
read-only
timeStamp → num?
read-only, inherited
touches → TouchList?
read-only
type → String
read-only, inherited
view → WindowBase?
read-only, inherited

Methods

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

Operators

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

Static Properties

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

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/TouchEvent-class.html