HubSection.header property
Gets or sets the header for this HubSection. After you set this property, the Hub renders the header again.
Syntax
<div
data-win-control="WinJS.UI.HubSection"
data-win-options="{ header : value}" >
</div>
var header = hubSection.header;
hubSection.header = header;
Property value
Type: Object
The header for this HubSection.
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