onSelectedViewportChanged Method

Called when active view changes. Tool may choose to restart or exit based on current view type.

onSelectedViewportChanged(_previous: Viewport, current: Viewport): Promise<void>

Parameter Type Description
_previous Viewport The previously active view.
current Viewport The new active view.

Returns - Promise

Defined in

Last Updated: 28 October, 2024