CUI.Page.FocusManager.callCommandHandler(handler, commandId, properties, sequenceNumber) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Calls the specified command handler to execute the command with the specified ID, properties, and sequence number.
var value = CUI.Page.FocusManager.callCommandHandler(handler, commandId, properties, sequenceNumber);
Parameters
handler
Type: CUI.Page.ICommandHandler
The handler for a command.
commandId
Type: String
The ID of the command.
properties
Type: Object
The properties of the command. The property names are the names of the object’s properties; the property values are the values of the object’s properties.
sequenceNumber
Type: int
The sequence number of the indexer.
Return Value
Type: boolean
true if the handler successfully executed the command; otherwise, false.
Remarks
This method makes sure that only the handler of the active page component is invoked.