W3cubDocs

/Dart 2

WheelEvent class

Inheritance
Annotations
  • @Native("WheelEvent")

Constructors

WheelEvent(String type, { Window view, num deltaX: 0, num deltaY: 0, num deltaZ: 0, int deltaMode: 0, int detail: 0, int screenX: 0, int screenY: 0, int clientX: 0, int clientY: 0, int button: 0, bool canBubble: true, bool cancelable: true, bool ctrlKey: false, bool altKey: false, bool shiftKey: false, bool metaKey: false, EventTarget relatedTarget })
factory

Properties

deltaModeint
read-only
deltaXnum
read-only
The amount that is expected to scroll horizontally, in units determined by deltaMode. [...]
deltaYnum
read-only
The amount that is expected to scroll vertically, in units determined by deltaMode. [...]
deltaZnum
final
altKeybool
final, inherited
bubblesbool
final, inherited
buttonint
final, inherited
buttonsint
final, inherited
cancelablebool
final, inherited
clientPoint<num>
read-only, inherited
composedbool
final, inherited
ctrlKeybool
final, inherited
currentTargetEventTarget
read-only, inherited
dataTransferDataTransfer
read-only, inherited
defaultPreventedbool
final, inherited
detailint
final, inherited
eventPhaseint
final, inherited
fromElementNode
final, 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. [...]
isTrustedbool
final, 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
final, 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
regionString
final, inherited
relatedTargetEventTarget
read-only, inherited
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
screenPoint<num>
read-only, inherited
shiftKeybool
final, inherited
sourceCapabilitiesInputDeviceCapabilities
final, inherited
targetEventTarget
read-only, inherited
timeStampnum
final, inherited
toElementNode
final, inherited
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event. [...]
typeString
final, inherited
viewWindowBase
read-only, inherited

Methods

composedPath() → List<EventTarget>
inherited
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
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Constants

DOM_DELTA_LINE → const int
0x01
DOM_DELTA_PAGE → const int
0x02
DOM_DELTA_PIXEL → const int
0x00

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