W3cubDocs

/Haxe JavaScript

MouseScrollEvent

package js.html

extends MouseEventUIEventEvent

@:native("MouseScrollEvent") Available on js

The MouseScrollEvent interface represents events that occur due to the user moving a mouse wheel or similar input device.

Documentation MouseScrollEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only axis:Int

Methods

initMouseScrollEvent (type:String, canBubble:Bool, cancelable:Bool, view:Window, detail:Int, screenX:Int, screenY:Int, clientX:Int, clientY:Int, ctrlKey:Bool, altKey:Bool, shiftKey:Bool, metaKey:Bool, button:Int, relatedTarget:EventTarget, axis:Int):Void

Static variables

@:value(1) static inline read only HORIZONTAL_AXIS:Int = 1

@:value(2) static inline read only VERTICAL_AXIS:Int = 2

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MouseScrollEvent.html