Aplicaciones de Windows
Collapse the table of content
Expand the table of content
EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

WinJS.UI.Pages Namespace

Applies to Windows and Windows Phone

Provides methods for defining and displaying pages (PageControl objects) within an app.

The WinJS.UI.Pages namespace has these types of members:

Objects

ObjectDescription

PageControl object

A modular unit of HTML, CSS, and JavaScript defining a page within an app that can be navigated to or used as a custom WinJS control.

 

Interfaces

InterfaceDescription

IPageControlMembers interface

Provides members for a PageControl. You implement this interface when defining a new PageControl.

 

Functions

FunctionDescription

define function

Creates a new PageControl from the specified URI containing the specified members.

get function

Gets a pre-defined page control for the specified URI, or creates a new one.

render function

Creates a PageControl from the specified URI and inserts it inside the specified DOM element.

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI.Pages

See also

For developers
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

 

 

Mostrar:
© 2016 Microsoft