Windows Dev Center

WinJS.UI.Pages.ready function

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

Applies to: Metro style apps only

Called after all initialization and rendering is complete. At this time, the element is ready for use.

Syntax

WinJS.UI.Pages.ready(element, options).done( /* Your success and error handlers */ );

Parameters

element

Type: DOMElement

The DOM element that contains all the content for the page.

options

Type: Object

The options passed into the constructor of the page.

Return value

Type: Object

A promise that is fulfilled when the element is ready for use.

Requirements

Namespace

WinJS.UI.Pages

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

Afficher:
© 2015 Microsoft