Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinJS.UI.Pages.get function

Applies to Windows and Windows Phone

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: String

The 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
WinJS.UI.Pages Namespace
Your first app - Part 3: PageControl objects and navigation
Navigating between pages
Quickstart: Using single-page navigation
Quickstart: Adding Page controls
Adding a Page control item template
HTML Page controls sample
Navigation and navigation history sample
For designers
Navigation patterns

 

 

Show: