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

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
final
altKey bool
final, inherited
bubbles bool
final, inherited
button int
final, inherited
buttons int
final, inherited
cancelable bool
final, inherited
client Point<num>
read-only, inherited
composed bool
final, inherited
ctrlKey bool
final, inherited
currentTarget EventTarget
read-only, inherited
dataTransfer DataTransfer
read-only, inherited
defaultPrevented bool
final, inherited
detail int
final, inherited
eventPhase int
final, inherited
fromElement Node
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isTrusted bool
final, inherited
layer Point<num>
read-only, inherited
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-only, inherited
metaKey bool
final, inherited
movement Point<num>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only, inherited
offset Point<num>
The coordinates of the mouse pointer in target node coordinates. [...]
read-only, inherited
page Point<num>
read-only, inherited
path List<EventTarget>
read-only, inherited
region String
final, inherited
relatedTarget EventTarget
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
screen Point<num>
read-only, inherited
shiftKey bool
final, inherited
sourceCapabilities InputDeviceCapabilities
final, inherited
target EventTarget
read-only, inherited
timeStamp num
final, inherited
toElement Node
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event. [...]
final, inherited
type String
final, inherited
view WindowBase
read-only, inherited

Methods

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

Operators

operator ==(dynamic 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