WinJS.UI.IZoomableView interface

2 out of 4 rated this helpful - Rate this topic

Supports semantic zoom functionality by exposing a control as either the zoomed in or the zoomed out view of the SemanticZoom control.

Members

The IZoomableView interface has these types of members:

Methods

The IZoomableView interface has these methods.

MethodDescription
beginZoom

Initiates semantic zoom on the custom control.

configureForZoom Method

Initializes the semantic zoom state for the custom control.

endZoom Method

Terminates semantic zoom on the zoomed in or zoomed out child of the custom control.

getCurrentItem Method

Retrieves the current item of the zoomed in or zoomed out child of the custom control.

getPanAxis Method

Retrieves the panning axis of the zoomed-in or zoomed-out child of the custom control.

handlePointer Method

Manages pointer input for the custom control.

positionItem Method

Positions the specified item within the viewport of the child control when panning or zooming begins.

setCurrentItem Method

Selects the item closest to the specified screen coordinates.

 

Remarks

The ListView is the only Windows Library for JavaScript control that implements this interface.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

See also

SemanticZoom

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.