Edit this page

zoomOut

Zooms the scroller out to the minimum zoom level possible.

The scroller widget is when the mobile view is resized or displayed initially. You can use the after-show event for the zoomOut call.

Example

<div data-role="view" data-after-show="zoomOut">
foo
    <div data-role="scroller" id="myScroller" style="width: 200px; height: 200px" data-zoom="true">
    <div style="width: 500px; height: 500px">Zoomable Content</div>
    </div>
bar
</div>

<script>
    function zoomOut(e) {
        $("#myScroller").data("kendoMobileScroller").zoomOut();
    }
    new kendo.mobile.Application();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy