Skip to content

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 ​

PropertyTypeDescriptionInherited fromDefined in
brushNavigatorBrushEmitted as the brush selection changes, carrying the normalized selection.-packages/core/src/core/navigator.ts:99
brushendNavigatorBrush | nullEmitted when a brush gesture ends, carrying the final selection or null when cleared.-packages/core/src/core/navigator.ts:101
changeNavigatorTransformEmitted whenever the transform changes for any reason (zoom or pan), carrying the new transform.-packages/core/src/core/navigator.ts:97
destroyednullEmitted when the event bus is destroyed; carries no payload.EventMap.destroyedpackages/core/src/core/event-bus.ts:21
panNavigatorTransformEmitted when the view is panned, carrying the new transform.-packages/core/src/core/navigator.ts:95
zoomNavigatorTransformEmitted when the zoom factor changes, carrying the new transform.-packages/core/src/core/navigator.ts:93