Options
All
  • Public
  • Public/Protected
  • All
Menu

Management class for Mouse events

Hierarchy

  • MouseManager

Index

Constructors

Properties

_wheelTime: number
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

  • _onWheel(event: WheelEvent): any
  • Master mouse-wheel event handler

    Parameters

    • event: WheelEvent

      The mouse wheel event

    Returns any