Documentation / @ripl/core / NavigatorEventMap
Interface: NavigatorEventMap ​
Defined in: packages/core/src/core/navigator.ts:91
Events emitted by a Navigator.
Extends ​
Indexable ​
[
key:string]:unknown
Properties ​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
brush | NavigatorBrush | Emitted as the brush selection changes, carrying the normalized selection. | - | packages/core/src/core/navigator.ts:99 |
brushend | NavigatorBrush | null | Emitted when a brush gesture ends, carrying the final selection or null when cleared. | - | packages/core/src/core/navigator.ts:101 |
change | NavigatorTransform | Emitted whenever the transform changes for any reason (zoom or pan), carrying the new transform. | - | packages/core/src/core/navigator.ts:97 |
destroyed | null | Emitted when the event bus is destroyed; carries no payload. | EventMap.destroyed | packages/core/src/core/event-bus.ts:21 |
pan | NavigatorTransform | Emitted when the view is panned, carrying the new transform. | - | packages/core/src/core/navigator.ts:95 |
zoom | NavigatorTransform | Emitted when the zoom factor changes, carrying the new transform. | - | packages/core/src/core/navigator.ts:93 |