Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the selected state of an Command of type "toggle".
Syntax
<div
data-win-control="WinJS.UI.Command"
data-win-options="{
type : 'toggle',
selected : value}">
</div>
var selected = command.selected;
command.selected = selected;
Property value
Type: Boolean
true if the toggle button is selected; otherwise, false.
Requirements
Minimum WinJS version |
WinJS 4.0 |
Namespace |
WinJS.UI |