WheelEvent

继承
注释
  • @Native("WheelEvent")

构造函数

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})
工厂

属性

altKey bool
no setterinherited
bubbles bool?
no setterinherited
button int
no setterinherited
buttons int?
no setterinherited
cancelable bool?
no setterinherited
client Point<num>
no setterinherited
composed bool?
no setterinherited
ctrlKey bool
no setterinherited
currentTarget EventTarget?
no setterinherited
dataTransfer DataTransfer
no setterinherited
defaultPrevented bool
no setterinherited
deltaMode int
没有设置器
deltaX num
期望水平滚动的数量,单位由 deltaMode 决定。
没有设置器
deltaY num
期望垂直滚动的数量,单位由 deltaMode 决定。
没有设置器
deltaZ num?
没有设置器
detail int?
no setterinherited
eventPhase int
no setterinherited
fromElement Node?
mouseover事件的情况下,获取鼠标来源元素的非常规方法。
no setterinherited
hashCode int
此对象的哈希码。
no setterinherited
isTrusted bool?
no setterinherited
layer Point<num>
no setterinherited
matchingTarget Element
指向触发事件的元素,其 CSS 选择器匹配。如果此事件未与任何事件委派关联,访问此值将抛出 UnsupportedError
no setterinherited
metaKey bool
no setterinherited
movement Point<num>
no setterinherited
offset Point<num>
鼠标指针在目标节点坐标中的坐标。
no setterinherited
page Point<num>
no setterinherited
path List<EventTarget>
no setterinherited
region String?
no setterinherited
relatedTarget EventTarget?
no setterinherited
runtimeType Type
对象运行时类型的表示。
no setterinherited
screen Point<num>
no setterinherited
shiftKey bool
no setterinherited
源能力 sourceCapabilities → 可选的 InputDeviceCapabilities
no setterinherited
目标 → 可选的 EventTarget
no setterinherited
时间戳 → 可选的 num
no setterinherited
toElement → 可选的 Node
mouseout事件中,访问鼠标移出元素的非标准方式。
no setterinherited
事件类型String
no setterinherited
视图 → 可选的 WindowBase
no setterinherited

方法

composedPath() → List<EventTarget>
继承
getModifierState(keyArg String) → bool
继承
noSuchMethod(invocation Invocation) → dynamic
当访问不存在的的方法或属性时调用。
继承
preventDefault() → void
继承
stopImmediatePropagation() → void
继承
stopPropagation() → void
继承
toString() → String
此对象的一个字符串表示形式。
继承

运算符

operator ==(Object other) → bool
等于运算符。
继承

常量

DOM_DELTA_LINE → const int
DOM_DELTA_PAGE → const int
DOM_DELTA_PIXEL → const int