API Reference > imodeljs-frontend > Views > Viewport > onViewUndoRedo onViewUndoRedo Beta onViewUndoRedo: BeEvent<(vp: Viewport, event: ViewUndoEvent) => void> = new 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 587 Last Updated: 13 June, 2024