CUI.Page.FocusManager.registerCommandHandler(commandId, handler) Method

Applies to: SharePoint Foundation 2010

Registers a command handler for the command with the specified ID.

CUI.Page.FocusManager.registerCommandHandler(commandId, handler);

Parameters

commandId

Type: String

The ID of the command to register.

handler

Type: CUI.Page.ICommandHandler

The handler that handles the command.

Remarks

This method registers the command with the main command dispatcher if it is not already registered.

Applies To

CUI.Page.FocusManager Class

See Also

Reference

CUI.Page.FocusManager Methods

CUI.Page Namespace