Event Listeners Methods
onChange
- onChange(listener: (args: { redoStepsCount: number; undoStepsCount: number }) => void): undoRedoUI
Parameters
listener: (args: { redoStepsCount: number; undoStepsCount: number }) => void
- (args: { redoStepsCount: number; undoStepsCount: number }): void
Parameters
args: { redoStepsCount: number; undoStepsCount: number }
redoStepsCount: number
undoStepsCount: number
Returns void
Occurs when the undo redo buttons needs to updated.