Skip to content

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

PropertyTypeDescriptionInherited fromDefined in
brushNavigatorBrushEmitted as the brush selection changes, carrying the normalised selection.-packages/core/src/core/navigator.ts:90
brushendNavigatorBrush | nullEmitted when a brush gesture ends, carrying the final selection or null when cleared.-packages/core/src/core/navigator.ts:92
changeNavigatorTransformEmitted whenever the transform changes for any reason (zoom or pan), carrying the new transform.-packages/core/src/core/navigator.ts:88
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:86
zoomNavigatorTransformEmitted when the zoom factor changes, carrying the new transform.-packages/core/src/core/navigator.ts:84