Management class for Mouse events

Properties

MOUSE_WHEEL_RATE_LIMIT: number = 50

Specify a rate limit for mouse wheel to gate repeated scrolling. This is especially important for continuous scrolling mice which emit hundreds of events per second. This designates a minimum number of milliseconds which must pass before another wheel event is handled

Methods

  • Internal

    Begin listening to mouse events.

    Returns void

  • Private

    Master mouse-wheel event handler

    Parameters

    • event: WheelEvent

      The mouse wheel event

    Returns any