IZoomableView.configureForZoom method

Initializes the semantic zoom state for the custom control.


iZoomableView.configureForZoom(isZoomedOut, isCurrentView, triggerZoom, prefetchedPages);


  • isZoomedOut
    Type: Variant

    True if this is the zoomed out view; otherwise false.

  • isCurrentView
    Type: Variant

    True if this is the current view; otherwise false.

  • triggerZoom
    Type: Variant

    The function that manages semantic zoom behavior. Triggers a zoom in or zoom out if the control is the visible control.

  • prefetchedPages
    Type: Variant

    The number of pages of content to pre-fetch for zooming.

    This value is dependent on the size of the semantic zoom container. More content can be displayed based on the zoom factor and the size of the container.

Return value

This method does not return a value.


This method is called on both child elements of the semantic zoom container.


Minimum WinJS version

WinJS 3.0



See also