SyntheticTouchEvent class

A SyntheticEvent wrapper that is specifically backed by a TouchEvent.

See developer.mozilla.org/en-US/docs/Web/API/TouchEvent

Inheritance
Available Extensions
Annotations
  • @JS()

Properties

altKey bool
Whether the alt key was down when this event was fired.
no setter
bubbles bool
Indicates whether the Event bubbles up through the DOM or not.
no setterinherited
cancelable bool
Indicates whether the Event is cancelable or not.
no setterinherited
changedTouches List<Touch>
All the Touch objects representing individual points of contact whose states changed between the previous touch event and this one.
no setter
ctrlKey bool
A value indicating whether or not the control key was down when this event was fired.
no setter
currentTarget → dynamic
Identifies the current target for the event, as the Event traverses the DOM.
no setterinherited
defaultPrevented bool
Indicates whether or not preventDefault was called on the event.
no setterinherited
eventPhase num
Indicates which phase of the Event flow is currently being evaluated.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTrusted bool
Is true when the Event was generated by a user action, and false when the Event was created or modified by a script or dispatched via EventTarget.dispatchEvent.
no setterinherited
metaKey bool
A value indicating whether or not the meta key was down when this event was fired.
no setter
nativeEvent → dynamic
The native browser event this wraps.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shiftKey bool
A value indicating whether or not the shift key was down when this event was fired.
no setter
stopPropagation → dynamic
Prevents further propagation of the current event.
no setterinherited
target → dynamic
A reference to the object that dispatched the event. It is different from currentTarget when the Event handler is called when eventPhase is Event.BUBBLING_PHASE or Event.CAPTURING_PHASE.
no setterinherited
targetTouches List<Touch>
All the Touch objects that are both currently in contact with the touch surface and were also started on the same element that is the target of this event.
no setter
timeStamp num
Returns the time (in milliseconds) at which the Event was created.
no setterinherited
touches List<Touch>
All the Touch objects representing all current points of contact with the surface, regardless of target or changed status.
no setter
type String
Returns a string containing the type of event. It is set when the Event is constructed and is the name commonly used to refer to the specific event.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault() → void
Cancels the Event if it is cancelable, without stopping further propagation of the event.
inherited
toString() String
A string representation of this object.
inherited

Operators

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