WinJS.UI.HubSection object
Defines a section of a Hub.
Explore this functionality in more depth as part of our App features, start to finish series: Hierarchical navigation, start to finish (HTML)
Syntax
<div
data-win-control="WinJS.UI.HubSection">
</div>
var object = new WinJS.UI.HubSection();
Members
The HubSection object has these types of members:
- Constructors
- Methods
- Properties
Constructors
The HubSection object has these constructors.
Constructor | Description |
---|---|
HubSection | Creates a new HubSection. |
Methods
The HubSection object has these methods.
Method | Description |
---|---|
dispose | Releases resources held by this HubSection. Call this method when the HubSection is no longer needed. After calling this method, the HubSection becomes unusable. |
Properties
The HubSection object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
Gets the DOM element that hosts the HubSection control's content. |
|
Read-only |
Gets the DOM element that hosts this HubSection. |
|
Read/write |
Gets or sets the header for this HubSection. |
|
Read/write |
Gets a value that specifies whether the header is static. |
Requirements
Minimum WinJS version |
WinJS 2.0 |
Namespace |
WinJS.UI |
See also
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using a hub control for layout and navigation
Navigating between pages (HTML)
Navigation and navigation history sample
Designers
Guidelines for the hub control