Documentation / @ripl/core / NavigatorEventMap
Interface: NavigatorEventMap
Defined in: packages/core/src/core/navigator.ts:82
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 normalised selection. | - | packages/core/src/core/navigator.ts:90 |
brushend | NavigatorBrush | null | Emitted when a brush gesture ends, carrying the final selection or null when cleared. | - | packages/core/src/core/navigator.ts:92 |
change | NavigatorTransform | Emitted whenever the transform changes for any reason (zoom or pan), carrying the new transform. | - | packages/core/src/core/navigator.ts:88 |
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:86 |
zoom | NavigatorTransform | Emitted when the zoom factor changes, carrying the new transform. | - | packages/core/src/core/navigator.ts:84 |