EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

WinJS.UI.ViewBox constructor

Applies to Windows and Windows Phone

Initializes a new instance of the ViewBox control.

Syntax


var viewBox = new WinJS.UI.ViewBox(element, options);

Parameters

element

Type: DOMElement

The DOM element that functions as the scaling box. This element fills 100% of the width and height allotted to it.

options

Type: object

The set of options to be applied initially to the ViewBox control. There are currently no options on this control, and any options included in this parameter are ignored.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ViewBox

 

 

Afficher:
© 2014 Microsoft. Tous droits réservés.