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 AppBarCommand of type "toggle".
Syntax
<div
data-win-control="WinJS.UI.AppBarCommand"
data-win-options="{
type : 'toggle',
selected : value}">
</div>
var selected = appBarCommand.selected;
appBarCommand.selected = selected;
Property value
Type: Boolean
true if the toggle button is selected; otherwise, false.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Your first app - Part 3: PageControl objects and navigation
Navigating between pages (HTML)
Navigation and navigation history sample
Designers
Bottom app bar
Top app bar