API Reference > imodeljs-frontend > Views > Viewport > onChangeView onChangeView Beta onChangeView: BeEvent<(vp: Viewport, previousViewState: ViewState) => void> = new BeEvent<(vp: Viewport, previousViewState: ViewState) => void>() Event invoked immediately when Viewport.changeView is called to replace the current ViewState with a different one. Defined in core/frontend/src/Viewport.ts Line 628 Last Updated: 13 June, 2024