WheelEvent class

Inheritance
Annotations
  • @DomName('WheelEvent')
  • @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
@DomName('WheelEvent.deltaMode'), read-only
deltaX num
The amount that is expected to scroll horizontally, in units determined by deltaMode. [...]
@DomName('WheelEvent.deltaX'), read-only
deltaY num
The amount that is expected to scroll vertically, in units determined by deltaMode. [...]
@DomName('WheelEvent.deltaY'), read-only
deltaZ num
@DocsEditable(), @DomName('WheelEvent.deltaZ'), final
altKey bool
@DocsEditable(), @DomName('MouseEvent.altKey'), final, inherited
bubbles bool
@DocsEditable(), @DomName('Event.bubbles'), final, inherited
button int
@DocsEditable(), @DomName('MouseEvent.button'), final, inherited
buttons int
@DocsEditable(), @DomName('MouseEvent.buttons'), @Experimental(), final, inherited
cancelable bool
@DocsEditable(), @DomName('Event.cancelable'), final, inherited
client Point<num>
@DomName('MouseEvent.clientX'), @DomName('MouseEvent.clientY'), read-only, inherited
composed bool
@DocsEditable(), @DomName('Event.composed'), @Experimental(), final, inherited
ctrlKey bool
@DocsEditable(), @DomName('MouseEvent.ctrlKey'), final, inherited
currentTarget EventTarget
@DocsEditable(), @DomName('Event.currentTarget'), read-only, inherited
dataTransfer DataTransfer
@DomName('MouseEvent.dataTransfer'), read-only, inherited
defaultPrevented bool
@DocsEditable(), @DomName('Event.defaultPrevented'), final, inherited
detail int
@DocsEditable(), @DomName('UIEvent.detail'), final, inherited
eventPhase int
@DocsEditable(), @DomName('Event.eventPhase'), final, inherited
fromElement Node
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event. [...]
@DocsEditable(), @DomName('MouseEvent.fromElement'), final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isTrusted bool
@DocsEditable(), @DomName('Event.isTrusted'), @Experimental(), final, inherited
layer Point<num>
@DomName('MouseEvent.layerX'), @DomName('MouseEvent.layerY'), 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
@DocsEditable(), @DomName('MouseEvent.metaKey'), final, inherited
movement Point<num>
@DomName('MouseEvent.movementX'), @DomName('MouseEvent.movementY'), @Experimental(), @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>
@DomName('MouseEvent.pageX'), @DomName('MouseEvent.pageY'), read-only, inherited
path List<EventTarget>
@DocsEditable(), @DomName('Event.path'), @Experimental(), read-only, inherited
region String
@DocsEditable(), @DomName('MouseEvent.region'), @Experimental(), final, inherited
relatedTarget EventTarget
@DocsEditable(), @DomName('MouseEvent.relatedTarget'), read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
screen Point<num>
@DomName('MouseEvent.screenX'), @DomName('MouseEvent.screenY'), read-only, inherited
shiftKey bool
@DocsEditable(), @DomName('MouseEvent.shiftKey'), final, inherited
sourceCapabilities InputDeviceCapabilities
@DocsEditable(), @DomName('UIEvent.sourceCapabilities'), @Experimental(), final, inherited
target EventTarget
@DocsEditable(), @DomName('Event.target'), read-only, inherited
timeStamp num
@DocsEditable(), @DomName('Event.timeStamp'), final, inherited
toElement Node
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event. [...]
@DocsEditable(), @DomName('MouseEvent.toElement'), final, inherited
type String
@DocsEditable(), @DomName('Event.type'), final, inherited
view WindowBase
@DocsEditable(), @DomName('UIEvent.view'), read-only, inherited

Methods

composedPath() List<EventTarget>
@DocsEditable(), @DomName('Event.composedPath'), @Experimental(), inherited
getModifierState(String keyArg) bool
@DocsEditable(), @DomName('MouseEvent.getModifierState'), @Experimental(), inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
preventDefault() → void
@DocsEditable(), @DomName('Event.preventDefault'), inherited
stopImmediatePropagation() → void
@DocsEditable(), @DomName('Event.stopImmediatePropagation'), inherited
stopPropagation() → void
@DocsEditable(), @DomName('Event.stopPropagation'), 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
@DocsEditable(), @DomName('WheelEvent.DOM_DELTA_LINE')
0x01
DOM_DELTA_PAGE → const int
@DocsEditable(), @DomName('WheelEvent.DOM_DELTA_PAGE')
0x02
DOM_DELTA_PIXEL → const int
@DocsEditable(), @DomName('WheelEvent.DOM_DELTA_PIXEL')
0x00