Type Definitions
Coordinates
Cursor coordinates object.
Properties:
Name | Type | Description |
---|---|---|
x |
number | The X-coordinate |
y |
number | The Y-coordinate |
- Source:
MouseMoveObserver
Observer object to be notified when the mouse cursor position changes.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
notify |
mouseMoveObserverFn | The observer callback function |
- Source:
mouseMoveObserverFn(coords)
Callback function to be executed when the mouse cursor position changes.
Parameters:
Name | Type | Description |
---|---|---|
coords |
Coordinates | The current mouse cursor coordinates |
- Source: