onSelectedViewportChanged Method
Called when active view changes. Tool may choose to restart or exit based on current view type.
onSelectedViewportChanged(_previous: undefined | Viewport, current: undefined | Viewport): Promise<void>
Parameter | Type | Description |
---|---|---|
_previous | undefined | Viewport | The previously active view. |
current | undefined | Viewport | The new active view. |
Returns - Promise<void>
Defined in
Last Updated: 20 June, 2023