header property
Collapse the table of content
Expand the table of content

HubSection.header property

Applies to Windows and Windows Phone

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

HubSection
Hub
AppBar
NavBar
BackButton
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using a hub control for layout and navigation
Navigating between pages (HTML)
Adding app bars
Adding nav bars
HTML Hub control sample
HTML AppBar control sample
HTML NavBar control sample
Navigation and navigation history sample
Designers
Command patterns
Navigation patterns
Hub
Guidelines for the hub control

 

 

Show:
© 2017 Microsoft