WinJS.UI.AppBar constructor
Creates a new AppBar object.
Explore this functionality in more depth as part of our App features, start to finish series: Flat navigation, start to finish (HTML) and Hierarchical navigation, start to finish (HTML)
Syntax
var appBar = new WinJS.UI.AppBar(element, options);
Parameters
element
Type: ObjectThe DOM element that hosts the control.
options [optional]
Type: ObjectThe set of properties and values to apply to the new AppBar.
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