PointerEvent class

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

Static Properties

instanceRuntimeType → Type
@Deprecated("Internal Use Only"), read-only

Constructors

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

Properties

height → num
@DocsEditable(), @DomName('PointerEvent.height'), @Experimental(), read-only
isPrimary → bool
@DocsEditable(), @DomName('PointerEvent.isPrimary'), @Experimental(), read-only
pointerId → int
@DocsEditable(), @DomName('PointerEvent.pointerId'), @Experimental(), read-only
pointerType → String
@DocsEditable(), @DomName('PointerEvent.pointerType'), @Experimental(), read-only
pressure → num
@DocsEditable(), @DomName('PointerEvent.pressure'), @Experimental(), read-only
tiltX → int
@DocsEditable(), @DomName('PointerEvent.tiltX'), @Experimental(), read-only
tiltY → int
@DocsEditable(), @DomName('PointerEvent.tiltY'), @Experimental(), read-only
width → num
@DocsEditable(), @DomName('PointerEvent.width'), @Experimental(), read-only
altKey → bool
@DocsEditable(), @DomName('MouseEvent.altKey'), read-only, inherited
bubbles → bool
@DocsEditable(), @DomName('Event.bubbles'), read-only, inherited
button → int
@DocsEditable(), @DomName('MouseEvent.button'), read-only, inherited
buttons → int
@DocsEditable(), @DomName('MouseEvent.buttons'), @Experimental(), read-only, inherited
cancelable → bool
@DocsEditable(), @DomName('Event.cancelable'), read-only, inherited
client → Point
@DomName('MouseEvent.clientX'), @DomName('MouseEvent.clientY'), read-only, inherited
clientX → int
@deprecated, read-only, inherited
clientY → int
@deprecated, read-only, inherited
ctrlKey → bool
@DocsEditable(), @DomName('MouseEvent.ctrlKey'), read-only, inherited
currentTarget → EventTarget
@DocsEditable(), @DomName('Event.currentTarget'), read-only, inherited
dataTransfer → DataTransfer
@DomName('MouseEvent.dataTransfer'), read-only, inherited
defaultPrevented → bool
@DocsEditable(), @DomName('Event.defaultPrevented'), read-only, inherited
detail → int
@DocsEditable(), @DomName('UIEvent.detail'), read-only, inherited
eventPhase → int
@DocsEditable(), @DomName('Event.eventPhase'), read-only, inherited
fromElement → Node
@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.

hashCode → int
read-only, inherited
isTrusted → bool
@DocsEditable(), @DomName('Event.isTrusted'), @Experimental(), read-only, inherited
layer → Point
@DomName('MouseEvent.layerX'), @DomName('MouseEvent.layerY'), read-only, inherited
matchingTarget → Element
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.

metaKey → bool
@DocsEditable(), @DomName('MouseEvent.metaKey'), read-only, inherited
movement → Point
@DomName('MouseEvent.movementX'), @DomName('MouseEvent.movementY'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only, inherited
movementX → int
@deprecated, read-only, inherited
movementY → int
@deprecated, read-only, inherited
offset → Point
read-only, inherited

The coordinates of the mouse pointer in target node coordinates.

offsetX → int
@deprecated, read-only, inherited
offsetY → int
@deprecated, read-only, inherited
page → Point
@DomName('MouseEvent.pageX'), @DomName('MouseEvent.pageY'), read-only, inherited
path → List<EventTarget>
@DocsEditable(), @DomName('Event.path'), @Experimental(), read-only, inherited

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

region → String
@DocsEditable(), @DomName('MouseEvent.region'), @Experimental(), read-only, inherited
relatedTarget → EventTarget
@DocsEditable(), @DomName('MouseEvent.relatedTarget'), read-only, inherited
runtimeType → Type
read-only, inherited

A representation of the runtime type of the object.

scoped → bool
@DocsEditable(), @DomName('Event.scoped'), @Experimental(), read-only, inherited
screen → Point
@DomName('MouseEvent.screenX'), @DomName('MouseEvent.screenY'), read-only, inherited
screenX → int
@deprecated, read-only, inherited
screenY → int
@deprecated, read-only, inherited
shiftKey → bool
@DocsEditable(), @DomName('MouseEvent.shiftKey'), read-only, inherited
sourceCapabilities → InputDeviceCapabilities
@DocsEditable(), @DomName('UIEvent.sourceCapabilities'), @Experimental(), read-only, inherited
target → EventTarget
@DocsEditable(), @DomName('Event.target'), read-only, inherited
timeStamp → num
@DocsEditable(), @DomName('Event.timeStamp'), read-only, inherited
toElement → Node
@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.

type → String
@DocsEditable(), @DomName('Event.type'), read-only, inherited
view → WindowBase
@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