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 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

 

 

Show:
© 2014 Microsoft