CUI.Page.UndoManager.canHandleCommand(commandId) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Indicates whether the UndoManager can handle the command with the specified ID.
var value = CUI.Page.UndoManager.canHandleCommand(commandId);
Parameters
commandId
Type: String
The ID of the command to handle.
Return Value
Type: boolean
true if the UndoManager can handle the specified command; otherwise, false.
Remarks
This method returns a value that indicates whether the UndoManager can handle the command specified by the commandId parameter.