Hub.loadingState property
Gets a value that indicates whether the hub is still loading or whether loading is complete. The value changes to complete after all the sections and content inside them has loaded.
Syntax
var loadingState = hub.loadingState;
Property value
Type: String
One of these values:
Value | Condition |
---|---|
"complete" | The Hub has finished loading. |
"loading" | The Hub is still loading. |
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