Spec-Zone.ru › Dart 2

dart:html

PointerEvent class

Inheritance
  • Object
  • Event
  • UIEvent
  • MouseEvent
  • PointerEvent
Annotations
  • @Native("PointerEvent")

Constructors

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

Properties

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

supported → bool
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 BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-html/PointerEvent-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API