NavBarContainer.data property
[NavBarContainer is no longer available for use as of Windows Library for JavaScript (WinJS) 4.2. Instead, use SplitViewCommand. ]
Gets or sets a WinJS.Binding.List that generates NavBarCommand objects.
Syntax
<div
data-win-control="WinJS.UI.NavBarContainer"
data-win-options="{ data : value}" >
</div>
var data = navBarContainer.data;
navBarContainer.data = data;
Property value
Type: WinJS.Binding.List**
A List used to generate NavBarCommand objects. The NavBarContainer passes each item in the list to the NavBarCommand object's constructor as the options parameter. If you specify a template, the NavBarContainer uses it to generate the content of each NavBarCommand.
Requirements
Minimum WinJS version |
WinJS 2.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