PointerEvent class

Inheritance
Annotations
  • @Native("PointerEvent")

Constructors

PointerEvent.new(String type, [Map? eventInitDict])
factory

Properties

altKey → bool
no setterinherited
bubbles → bool?
no setterinherited
button → int
no setterinherited
buttons → int?
no setterinherited
cancelable → bool?
no setterinherited
client → Point<num>
no setterinherited
composed → bool?
no setterinherited
ctrlKey → bool
no setterinherited
currentTarget → EventTarget?
no setterinherited
dataTransfer → DataTransfer
no setterinherited
defaultPrevented → bool
no setterinherited
detail → int?
no setterinherited
eventPhase → int
no setterinherited
fromElement → Node?
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
height → num?
no setter
isPrimary → bool?
no setter
isTrusted → bool?
no setterinherited
layer → Point<num>
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 setterinherited
movement → Point<num>
no setterinherited
offset → Point<num>
The coordinates of the mouse pointer in target node coordinates.
no setterinherited
page → Point<num>
no setterinherited
path → List<EventTarget>
no setterinherited
pointerId → int?
no setter
pointerType → String?
no setter
pressure → num?
no setter
region → String?
no setterinherited
relatedTarget → EventTarget?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screen → Point<num>
no setterinherited
shiftKey → bool
no setterinherited
sourceCapabilities → InputDeviceCapabilities?
no setterinherited
tangentialPressure → num?
no setter
target → EventTarget?
no setterinherited
tiltX → int?
no setter
tiltY → int?
no setter
timeStamp → num?
no setterinherited
toElement → Node?
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.
no setterinherited
twist → int?
no setter
type → String
no setterinherited
view → WindowBase?
no setterinherited
width → num?
no setter

Methods

composedPath() → List<EventTarget>
inherited
getCoalescedEvents() → List<PointerEvent>
getModifierState(String keyArg) → bool
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
PointerEvent used for both touch and mouse. To check if touch is supported call the property TouchEvent.supported
no setter