PointerEvent class

Inheritance
Annotations
  • @Native("PointerEvent")

Constructors

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

Properties

altKeybool
read-only, inherited
bubblesbool?
read-only, inherited
buttonint
read-only, inherited
buttonsint?
read-only, inherited
cancelablebool?
read-only, inherited
clientPoint<num>
read-only, inherited
composedbool?
read-only, inherited
ctrlKeybool
read-only, inherited
currentTargetEventTarget?
read-only, inherited
dataTransferDataTransfer
read-only, inherited
defaultPreventedbool
read-only, inherited
detailint?
read-only, inherited
eventPhaseint
read-only, inherited
fromElementNode?
read-only, inherited
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event. [...]
hashCodeint
read-only, inherited
The hash code for this object. [...]
heightnum?
read-only
isPrimarybool?
read-only
isTrustedbool?
read-only, inherited
layerPoint<num>
read-only, inherited
matchingTargetElement
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.
metaKeybool
read-only, inherited
movementPoint<num>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only, inherited
offsetPoint<num>
read-only, inherited
The coordinates of the mouse pointer in target node coordinates. [...]
pagePoint<num>
read-only, inherited
pathList<EventTarget>
read-only, inherited
pointerIdint?
read-only
pointerTypeString?
read-only
pressurenum?
read-only
regionString?
read-only, inherited
relatedTargetEventTarget?
read-only, inherited
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
screenPoint<num>
read-only, inherited
shiftKeybool
read-only, inherited
sourceCapabilitiesInputDeviceCapabilities?
read-only, inherited
tangentialPressurenum?
read-only
targetEventTarget?
read-only, inherited
tiltXint?
read-only
tiltYint?
read-only
timeStampnum?
read-only, inherited
toElementNode?
read-only, inherited
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event. [...]
twistint?
read-only
typeString
read-only, inherited
viewWindowBase?
read-only, inherited
widthnum?
read-only

Methods

composedPath() → List<EventTarget>
inherited
getCoalescedEvents() → List<PointerEvent>
getModifierState(String keyArg) → bool
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

supportedbool
read-only
PointerEvent used for both touch and mouse. To check if touch is supported call the property TouchEvent.supported

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/PointerEvent-class.html