PointerEvent class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('PointerEvent')
  • @Experimental()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

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

Properties

heightnum
@DocsEditable(), @DomName('PointerEvent.height'), @Experimental(), read-only
isPrimarybool
@DocsEditable(), @DomName('PointerEvent.isPrimary'), @Experimental(), read-only
pointerIdint
@DocsEditable(), @DomName('PointerEvent.pointerId'), @Experimental(), read-only
pointerTypeString
@DocsEditable(), @DomName('PointerEvent.pointerType'), @Experimental(), read-only
pressurenum
@DocsEditable(), @DomName('PointerEvent.pressure'), @Experimental(), read-only
tiltXint
@DocsEditable(), @DomName('PointerEvent.tiltX'), @Experimental(), read-only
tiltYint
@DocsEditable(), @DomName('PointerEvent.tiltY'), @Experimental(), read-only
widthnum
@DocsEditable(), @DomName('PointerEvent.width'), @Experimental(), read-only
altKeybool
@DocsEditable(), @DomName('MouseEvent.altKey'), read-only, inherited
bubblesbool
@DocsEditable(), @DomName('Event.bubbles'), read-only, inherited
buttonint
@DocsEditable(), @DomName('MouseEvent.button'), read-only, inherited
buttonsint
@DocsEditable(), @DomName('MouseEvent.buttons'), @Experimental(), read-only, inherited
cancelablebool
@DocsEditable(), @DomName('Event.cancelable'), read-only, inherited
clientPoint
@DomName('MouseEvent.clientX'), @DomName('MouseEvent.clientY'), read-only, inherited
clientXint
@deprecated, read-only, inherited
clientYint
@deprecated, read-only, inherited
ctrlKeybool
@DocsEditable(), @DomName('MouseEvent.ctrlKey'), read-only, inherited
currentTargetEventTarget
@DocsEditable(), @DomName('Event.currentTarget'), read-only, inherited
dataTransferDataTransfer
@DomName('MouseEvent.dataTransfer'), read-only, inherited
defaultPreventedbool
@DocsEditable(), @DomName('Event.defaultPrevented'), read-only, inherited
detailint
@DocsEditable(), @DomName('UIEvent.detail'), read-only, inherited
eventPhaseint
@DocsEditable(), @DomName('Event.eventPhase'), read-only, inherited
fromElementNode
@deprecated, @DocsEditable(), @DomName('MouseEvent.fromElement'), 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
isTrustedbool
@DocsEditable(), @DomName('Event.isTrusted'), @Experimental(), read-only, inherited
layerPoint
@DomName('MouseEvent.layerX'), @DomName('MouseEvent.layerY'), 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
@DocsEditable(), @DomName('MouseEvent.metaKey'), read-only, inherited
movementPoint
@DomName('MouseEvent.movementX'), @DomName('MouseEvent.movementY'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only, inherited
movementXint
@deprecated, read-only, inherited
movementYint
@deprecated, read-only, inherited
offsetPoint
read-only, inherited

The coordinates of the mouse pointer in target node coordinates.

offsetXint
@deprecated, read-only, inherited
offsetYint
@deprecated, read-only, inherited
pagePoint
@DomName('MouseEvent.pageX'), @DomName('MouseEvent.pageY'), read-only, inherited
pathList<EventTarget>
@DocsEditable(), @DomName('Event.path'), @Experimental(), read-only, inherited

This event's path, taking into account shadow DOM.

regionString
@DocsEditable(), @DomName('MouseEvent.region'), @Experimental(), read-only, inherited
relatedTargetEventTarget
@DocsEditable(), @DomName('MouseEvent.relatedTarget'), read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

scopedbool
@DocsEditable(), @DomName('Event.scoped'), @Experimental(), read-only, inherited
screenPoint
@DomName('MouseEvent.screenX'), @DomName('MouseEvent.screenY'), read-only, inherited
screenXint
@deprecated, read-only, inherited
screenYint
@deprecated, read-only, inherited
shiftKeybool
@DocsEditable(), @DomName('MouseEvent.shiftKey'), read-only, inherited
sourceCapabilitiesInputDeviceCapabilities
@DocsEditable(), @DomName('UIEvent.sourceCapabilities'), @Experimental(), read-only, inherited
targetEventTarget
@DocsEditable(), @DomName('Event.target'), read-only, inherited
timeStampnum
@DocsEditable(), @DomName('Event.timeStamp'), read-only, inherited
toElementNode
@deprecated, @DocsEditable(), @DomName('MouseEvent.toElement'), read-only, inherited

The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.

typeString
@DocsEditable(), @DomName('Event.type'), read-only, inherited
viewWindowBase
@DocsEditable(), @DomName('UIEvent.view'), read-only, inherited

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

deepPath() → List<EventTarget>
@DocsEditable(), @DomName('Event.deepPath'), @Experimental(), inherited
getModifierState(String keyArg) → bool
@DocsEditable(), @DomName('MouseEvent.getModifierState'), @Experimental(), inherited
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

preventDefault() → void
@DocsEditable(), @DomName('Event.preventDefault'), inherited
stopImmediatePropagation() → void
@DocsEditable(), @DomName('Event.stopImmediatePropagation'), inherited
stopPropagation() → void
@DocsEditable(), @DomName('Event.stopPropagation'), inherited
toString() → String
inherited

Returns the result of the JavaScript objects toString method.

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