WinJS.UI.Pages.get function
Gets a pre-defined page control for the specified Uniform Resource Identifier (URI), or creates a new one.
Syntax
var functionRef = WinJS.UI.Pages.get(uri);
Parameters
uri
Type: StringThe URI for the content that defines the page.
Return value
Type: Function
A constructor function that creates the page.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI.Pages |
See also
For developers
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using single-page navigation
Quickstart: Adding Page controls
Adding a Page control item template
Navigation and navigation history sample
For designers