A MouseScrollEvent is fired when the mouse wheel is rotated. Is it sent to the currently hovered element.

Constructor

new(element:Null<Element>, state:MouseScrollEventState, scrollDelta:Int)

Variables

finalscrollDelta:Int

The amount of mouse wheel rotation. The faster the mouse is scrolled, the higher the value. The scroll delta is positive if the mouse wheel is scrolled down and negative if it is scrolled up.

Methods

Inherited Variables

Defined by Event

finalelement:Null<Element>

The element that receives this event. If null, this event is not dispatched.

privatefinalstate:Int

Inherited Methods