WinJS.UI.IZoomableView interface

Applies to Windows and Windows Phone

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

Deprecated. Do not use this method in new projects.

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]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

SemanticZoom

 

 

Show:
© 2014 Microsoft