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

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
deltaMode int
read-only
deltaX num
The amount that is expected to scroll horizontally, in units determined by deltaMode.
read-only
deltaY num
The amount that is expected to scroll vertically, in units determined by deltaMode.
read-only
deltaZ num?
read-only
detail int?
read-onlyinherited
eventPhase int
read-onlyinherited
fromElement Node?
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
isTrusted bool?
read-onlyinherited
layer Point<num>
read-onlyinherited
matchingTarget Element
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.
read-onlyinherited
metaKey bool
read-onlyinherited
movement Point<num>
read-onlyinherited
offset Point<num>
The coordinates of the mouse pointer in target node coordinates.
read-onlyinherited
page Point<num>
read-onlyinherited
path List<EventTarget>
read-onlyinherited
region String?
read-onlyinherited
relatedTarget EventTarget?
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
screen Point<num>
read-onlyinherited
shiftKey bool
read-onlyinherited
sourceCapabilities InputDeviceCapabilities?
read-onlyinherited
target EventTarget?
read-onlyinherited
timeStamp num?
read-onlyinherited
toElement Node?
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.
read-onlyinherited
type String
read-onlyinherited
view WindowBase?
read-onlyinherited

Methods

composedPath() List<EventTarget>
inherited
getModifierState(String keyArg) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

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