共用方式為


SemanticZoom.zoomedOut property

Gets or sets a value that indicates whether the control is zoomed out.

Syntax

<div data-win-control="WinJS.UI.SemanticZoom" data-win-options="{ zoomedOut : value}" ></div>
var zoomedOut = semanticZoom.zoomedOut;
semanticZoom.zoomedOut = zoomedOut;

Property value

Type: Boolean

true if zoomed out; otherwise, false. The default value is false.

Remarks

If the initiallyZoomedOut option is set to true in the SemanticZoom constructor, zoomedOut is set to true.

Setting the value of this property to the opposite of its current value causes a zoom in or zoom out to be performed (with zoom animation).

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

SemanticZoom