Contains a group of NavBarCommand objects in a NavBar.
Creates a new NavBarContainer.
The DOM element hosts the new NavBarContainer.
An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events.
Gets or sets the index of the current item.
Gets or sets a WinJS.Binding.List that generates NavBarCommand objects.
Gets the HTML element that hosts this NavBarContainer.
Gets or sets a value that specifies whether NavBarCommand objects in this container use a fixed or dynamic width.
Gets or sets a value that specifies whether the NavBarContainer has a horizontal or vertical layout.
Gets or sets a value that specifies how many rows of navigation commands to display on a page.
Gets or sets the WinJS.Binding.Template or templating function that creates the DOM elements for each item in the data source. Each item can contain multiple elements, but it must have a single root element.
Registers an event handler for the specified event.
The name of the event to handle. Note that you drop the "on" when specifying the event name. For example, instead of specifying "onclick", you specify "click".
The event handler function to associate with the event.
Set to true to register the event handler for the capturing phase; otherwise, set to false to register the event handler for the bubbling phase.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Releases resources held by this NavBarCommand. Call this method when the NavBarCommand is no longer needed. After calling this method, the NavBarCommand becomes unusable.
Forces the NavBarContainer to update its layout. Use this function when making the NavBarContainer visible again after you set its style.display property to "none".
Occurs when a child NavBarCommand object's click event fires.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.index, detail.navbarcommand, detail.data.
Occurs when the split button of a child NavBarCommand is opened or closed. A split button is toggled when the user navigates to another page or opens another split button.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.opened, detail.index, detail.navbarcommand, detail.data.
Removes an event handler that the addEventListener method registered.
The name of the event that the event handler is registered for.
The event handler function to remove.
Set to true to remove the capturing phase event handler; set to false to remove the bubbling phase event handler.