onSelectedViewportChanged Method
Called when active view changes. Tool may choose to restart or exit based on current view type.
onSelectedViewportChanged(_previous: undefined | ScreenViewport, _current: undefined | ScreenViewport): void
Parameter | Type | Description |
---|---|---|
_previous | undefined | ScreenViewport | |
_current | undefined | ScreenViewport |
Returns - void
Defined in
- core/frontend/src/tools/Tool.ts Line 650
Last Updated: 20 June, 2023