SyntheticPointerEvent class
A SyntheticEvent wrapper that is specifically backed by a PointerEvent.
- Inheritance
-
- Object
- SyntheticEvent
- SyntheticPointerEvent
- Available Extensions
- Annotations
-
- @JS()
Properties
- 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
- 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
- height → num
-
The height (magnitude on the Y axis), in CSS pixels, of the contact geometry of the pointer.
no setter
- isPrimary → bool
-
Indicates if the pointer represents the primary pointer of this pointer type.
no setter
- isTrusted → bool
-
Is
true
when the Event was generated by a user action, andfalse
when the Event was created or modified by a script or dispatched via EventTarget.dispatchEvent.no setterinherited - nativeEvent → dynamic
-
The native browser event this wraps.
no setterinherited
- pointerId → num
-
A unique identifier for the pointer causing the event.
no setter
- pointerType → String
-
Indicates the device type that caused this event (mouse, pen, touch, etc.)
no setter
- pressure → num
-
The normalized pressure of the pointer input in the range
0
to1
, where0
and1
represent the minimum and maximum pressure the hardware is capable of detecting, respectively.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stopPropagation → dynamic
-
Prevents further propagation of the current event.
no setterinherited
- tangentialPressure → num
-
The normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress) in the
range
-1
to1
, where0
is the neutral position of the control.no setter - 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
- tiltX → num
-
The plane angle (in degrees, in the range of
-90
to90
) between the Y–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the Y axis.no setter - tiltY → num
-
The plane angle (in degrees, in the range of
-90
to90
) between the X–Z plane and the plane containing both the pointer (e.g. pen stylus) axis and the X axis.no setter - timeStamp → num
-
Returns the time (in milliseconds) at which the Event was created.
no setterinherited
- twist → num
-
The clockwise rotation of the pointer (e.g. pen stylus) around its major axis in degrees, with a value in the range
0
to359
.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
- width → num
-
The width (magnitude on the X axis), in CSS pixels, of the contact geometry of the pointer.
no setter
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