API Reference > imodeljs-frontend > Views > Viewport > onViewUndoRedo onViewUndoRedo Readonly onViewUndoRedo: BeEvent<(vp: Viewport, event: ViewUndoEvent) => void> = ... Event called after reversing the most recent change to the Viewport from the undo stack or reapplying the most recently undone change to the Viewport from the redo stack. Defined in core/frontend/src/Viewport.ts Line 238 Last Updated: 11 June, 2024