MenuCommand.element property
Gets the Document Object Model (DOM) element that hosts the MenuCommand.
Syntax
var element = menuCommand.element;
Property value
Type: HTMLElement
The DOM element that hosts the MenuCommand.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus