Command.id property

Gets or sets the Command identifier.
Syntax
<div data-win-control="WinJS.UI.Command" data-win-options="{ id : value}"> </div>
var id = command.id;
Property value
Type: String
An alphanumeric String that begins with a letter. The underscore (_) can also be used.
Requirements
|
Minimum WinJS version |
WinJS 4.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: