IZoomableView.configureForZoom method
Initializes the semantic zoom state for the custom control.
Syntax
iZoomableView.configureForZoom(isZoomedOut, isCurrentView, triggerZoom, prefetchedPages);
Parameters
isZoomedOut
Type: VariantTrue if this is the zoomed out view; otherwise false.
isCurrentView
Type: VariantTrue if this is the current view; otherwise false.
triggerZoom
Type: VariantThe function that manages semantic zoom behavior. Triggers a zoom in or zoom out if the control is the visible control.
prefetchedPages
Type: VariantThe 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.
Remarks
This method is called on both child elements of the semantic zoom container.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |