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

Last Updated: 12 June, 2024