This module exports a function registerTouchEventHandlers that sets up all mouse events. It interacts directly with the fractalRenderer instance.
- Source:
Members
(inner, constant) DOUBLE_CLICK_THRESHOLD
How long should we wait before distinguish between double click and two single clicks.
- Source:
(inner, constant) DRAG_THRESHOLD
Tolerance of mouse movement before drag starts.
- Source:
(inner) mouseHandlersRegistered
Global variable to track registration
- Source:
Methods
(static) initMouseHandlers(app)
Initialization and registering of the event handlers.
Parameters:
Name | Type | Description |
---|---|---|
app |
FractalRenderer |
- Source:
(static) registerMouseEventHandlers()
Registers mouse handlers.
- Source:
(static) unregisterMouseEventHandlers()
Unregisters mouse handlers.
- Source: