getWheelDelta static method

num getWheelDelta(
  1. Event e
)

Gets normalized wheel delta from a mousewheel DOM event, in vertical pixels scrolled (negative if scrolling down). Events from pointing devices without precise scrolling are mapped to a best guess of 60 pixels.

Implementation

external static num getWheelDelta(Event e);