Navigation.location property
Gets a Uniform Resource Identifier (URI) for an app page. Use with navigate to load and display the page.
Syntax
var myLocation = WinJS.Navigation.location; // The location property is read-only.
Property value
Type: String
The URI.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Navigation |
See also
For developers
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using single-page navigation
Quickstart: Adding a nav bar (NavBar)
Quickstart: Using a hub control for layout and navigation
Navigation and navigation history sample
For designers
Top app bar
Guidelines for the hub control
Guidelines for app bars