Hub.element property
Gets the DOM element that hosts the Hub control.
Syntax
var element = hub.element;
Property value
Type: HTMLElement
The DOM element that hosts the Hub control.
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