Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ViewBox control.
Syntax
var viewBox = new WinJS.UI.ViewBox(element, options);
Parameters
element
Type: DOMElementThe DOM element that functions as the scaling box. This element fills 100% of the width and height allotted to it.
options
Type: objectThe 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 WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |