onSelectedViewportChanged Method
Called when active view changes. Tool may choose to restart or exit based on current view type.
onSelectedViewportChanged(_previous: ScreenViewport, _current: ScreenViewport): void
Parameter | Type | Description |
---|---|---|
_previous | ScreenViewport | |
_current | ScreenViewport |
Returns - void
Defined in
- core/frontend/src/tools/Tool.ts Line 650
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.