API Reference > imodeljs-frontend > Views > ViewManager > onSelectedViewportChanged onSelectedViewportChanged onSelectedViewportChanged: BeUiEvent<SelectedViewportChangedArgs> = new BeUiEvent<SelectedViewportChangedArgs>() Called after the selected view changes. param old - Previously selected viewport. param current - Currently selected viewport. Defined in core/frontend/src/ViewManager.ts Line 113 Last Updated: 13 June, 2024