Partilhar via


WinJS.UI.IZoomableView interface

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

Methods

The IZoomableView interface has these methods.

Method Description
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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

SemanticZoom