Definition
Namespace:Telerik.Web.UI.Editor
Inheritance: Telerik.Web.UI.Editor.CommandsManager
Methods
Indicates whether the last command can be repeated.
canRepeatLastCommand(): Boolean
Boolean
Executes a command.
execute(Object command, Boolean addToStack): Boolean
The command to be executed.
addToStackBooleanBoolean value that indicates whether the command to be added in the undo stack.
Returns:Boolean
Returns true if command can be unexecuted.
Returns the commands available in the undo stack.
get_commands(): Array
Array
Returns the commands in the redo stack.
getCommandsToRedo(): Array
Array
Returns the commands in the undo stack.
getCommandsToUndo(): Array
Array
Indicates whether there are commands in the redo stack.
isRedoAvailable(): Boolean
Boolean
Indicates whether there are commands in the undo stack.
isUndoAvailable(): Boolean
Boolean
Redo commands added in the redo stack.
redo(Number depth): void
The number of commands to be redo.
Removes a command from the specified index in the stack.
removeCommandAt(Number index): void
The index of the command to be removed.
Repeats the last command fired.
repeatLastCommand(): void
Undo commands added in the undo stack.
undo(Number depth): void
The number of commands to be undo.