Accessors
redoStackSize
- get redoStackSize(): number
Returns number
undoStackSize
- get undoStackSize(): number
Returns number
Methods
push
- push(command, apply?): void
Parameters
- command: Command
- apply: boolean = true
Returns void
redo
- redo(): void | Promise<void>
Returns void | Promise<void>
undo
- undo(): void | Promise<void>
Returns void | Promise<void>
OpenSource licenses
Adds the given command to this and applies it to the editor.