Condividi tramite


SemanticZoom.locked property

Gets or sets a value that indicates whether SemanticZoom is locked and zooming between views is disabled.

Syntax

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

Property value

Type: Variant

true if SemanticZoom is locked; otherwise, false. The default value is false.

Remarks

If SemanticZoom is disabled, zooming between views is not possible. Interaction is limited to the current view.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

SemanticZoom