Skip to main content
ViewBox.element property

Applies to Windows and Windows Phone

Gets the DOM element that functions as the scaling box.

Syntax


<div data-win-control="WinJS.UI.ViewBox" data-win-options="{ element : value}" />

var element = viewBox.element;

Property value

Type: Object

The DOM element that functions as the scaling box.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

ViewBox