API Reference > imodeljs-frontend > Views > ViewManager > onSelectedViewportChanged onSelectedViewportChanged Readonly onSelectedViewportChanged: 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 151 Last Updated: 11 June, 2024