CUI.Page.FocusManager.canHandleCommand(commandId) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether the CUI.Page.PageComponent Class that has the focus can handle the command.

var value = CUI.Page.FocusManager.canHandleCommand(commandId);

Parameters

commandId

Type: String

The ID of the command to handle.

Return Value

Type: boolean

true if the page component can handle the command; otherwise, false.

Remarks

This method returns true if at least one handler can execute the command.

Applies To

CUI.Page.FocusManager Class

See Also

Reference

CUI.Page.FocusManager Methods

CUI.Page Namespace