New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI.Editor

Inheritance: Telerik.Web.UI.Editor.CommandsManager

Methods

Indicates whether the last command can be repeated.

JS
canRepeatLastCommand(): Boolean
Returns:

Boolean

Executes a command.

JS
execute(Object command, Boolean addToStack): Boolean
Parameters:commandObject

The command to be executed.

addToStackBoolean

Boolean 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.

JS
get_commands(): Array
Returns:

Array

Returns the commands in the redo stack.

JS
getCommandsToRedo(): Array
Returns:

Array

Returns the commands in the undo stack.

JS
getCommandsToUndo(): Array
Returns:

Array

Indicates whether there are commands in the redo stack.

JS
isRedoAvailable(): Boolean
Returns:

Boolean

Indicates whether there are commands in the undo stack.

JS
isUndoAvailable(): Boolean
Returns:

Boolean

Redo commands added in the redo stack.

JS
redo(Number depth): void
Parameters:depthNumber

The number of commands to be redo.

Removes a command from the specified index in the stack.

JS
removeCommandAt(Number index): void
Parameters:indexNumber

The index of the command to be removed.

Repeats the last command fired.

JS
repeatLastCommand(): void

Undo commands added in the undo stack.

JS
undo(Number depth): void
Parameters:depthNumber

The number of commands to be undo.

Not finding the help you need?
Contact Support