Back to Website
Show / Hide Table of Contents

Interface IUndoRedoHandler

Handler for performing operations with redoing and undoing of actions.

Package: @aurigma/design-atoms-text

Properties

canRedo

Indicates if the action can be redone.

Declaration
canRedo: boolean;
Property Value
Type Description
boolean

Indicates if the action can be redone.

canUndo

Indicates if the action can be undone.

Declaration
canUndo: boolean;
Property Value
Type Description
boolean

Indicates if the action can be undone.

Methods

clear()

Clears saving actions.

Declaration
clear(): void;
Returns
Type Description
void

getSelection()

Returns selected text.

Declaration
getSelection(): ITextRange;
Returns
Type Description
ITextRange

pause()

Pauses saving actions.

Declaration
pause(): void;
Returns
Type Description
void
Remarks

can be used to combine multiple actions into one.

redo()

Redoes an action.

Declaration
redo(): void;
Returns
Type Description
void

resume()

Resumes saving actions.

Declaration
resume(): void;
Returns
Type Description
void
Remarks

can be used to combine multiple actions into one.

undo()

Undoes an action.

Declaration
undo(): void;
Returns
Type Description
void
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback