MenuCommand.id property
Gets the element identifier (ID) of the command.
Syntax
var id = menuCommand.id;
Property value
Type: string
The element ID.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus