Applications Windows
Réduire la table des matières
Développer la table des matières

WinJS.UI.Pages.define function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Creates a new page control from the specified URI that contains the specified members. Multiple calls to this method for the same URI are allowed, and all members will be merged.

Syntax

var function = WinJS.UI.Pages.define(uri, members);

Parameters

uri

Type: String

The URI for the content that defines the page.

members

Type: Object

Additional members that the control will have.

Return value

Type: Object

A constructor function that creates the page.

Requirements

Namespace

WinJS.UI.Pages

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

Afficher:
© 2017 Microsoft