Dart SDK
dart:html
WheelEvent
class
WheelEvent
Constants
Properties
Constructors
Constants
DOM_DELTA_LINE
DOM_DELTA_PAGE
DOM_DELTA_PIXEL
Properties
deltaMode
deltaZ
deltaX
deltaY
matchingTarget
bubbles
cancelable
clipboardData
currentTarget
defaultPrevented
eventPhase
path
target
timeStamp
type
detail
view
which
layer
page
altKey
button
ctrlKey
dataTransfer
fromElement
metaKey
region
relatedTarget
shiftKey
toElement
clientX
clientY
offsetX
offsetY
movementX
movementY
screenX
screenY
client
movement
offset
screen
Constructors
WheelEvent
Methods
preventDefault
stopImmediatePropagation
stopPropagation
(Not documented.)
Annotations
DomName('WheelEvent')
Extends
Object
Event
UIEvent
MouseEvent
WheelEvent
Constants
int
DOM_DELTA_LINE
=
0x01
const
int
DOM_DELTA_PAGE
=
0x02
const
int
DOM_DELTA_PIXEL
=
0x00
const
Properties
int
deltaMode
read-only
double
deltaZ
read-only
num
deltaX
read-only
The amount that is expected to scroll horizontally, in units determined by [deltaMode].
num
deltaY
read-only
The amount that is expected to scroll vertically, in units determined by [deltaMode].
Element
matchingTarget
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].
bool
bubbles
read-only ,
inherited
bool
cancelable
read-only ,
inherited
DataTransfer
clipboardData
read-only ,
inherited
Access to the system's clipboard data during copy, cut, and paste events.
EventTarget
currentTarget
read-only ,
inherited
bool
defaultPrevented
read-only ,
inherited
int
eventPhase
read-only ,
inherited
List
<
Node
>
path
read-only ,
inherited
This event's path, taking into account shadow DOM.
EventTarget
target
read-only ,
inherited
int
timeStamp
read-only ,
inherited
String
type
read-only ,
inherited
int
detail
read-only ,
inherited
WindowBase
view
read-only ,
inherited
int
which
read-only ,
inherited
Point
layer
read-only ,
inherited
Point
page
read-only ,
inherited
bool
altKey
read-only ,
inherited
int
button
read-only ,
inherited
bool
ctrlKey
read-only ,
inherited
DataTransfer
dataTransfer
read-only ,
inherited
Node
fromElement
read-only ,
inherited
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.
bool
metaKey
read-only ,
inherited
String
region
read-only ,
inherited
EventTarget
relatedTarget
read-only ,
inherited
bool
shiftKey
read-only ,
inherited
Node
toElement
read-only ,
inherited
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.
int
clientX
read-only ,
inherited
int
clientY
read-only ,
inherited
int
offsetX
read-only ,
inherited
int
offsetY
read-only ,
inherited
int
movementX
read-only ,
inherited
int
movementY
read-only ,
inherited
int
screenX
read-only ,
inherited
int
screenY
read-only ,
inherited
Point
client
read-only ,
inherited
Point
movement
read-only ,
inherited
Point
offset
read-only ,
inherited
The coordinates of the mouse pointer in target node coordinates.
Point
screen
read-only ,
inherited
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
})
Methods
preventDefault
(
) →
void
inherited
stopImmediatePropagation
(
) →
void
inherited
stopPropagation
(
) →
void
inherited