Compartir a través de


Command.element property

Gets the Document Object Model (DOM) element that hosts the Command.

Syntax

var element = command.element;

Property value

Type: HTMLElement

The DOM element that hosts the Command.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Command