prev

Switches to the previous page with animation.

    <div data-role="view">
      <div id="scrollView" data-role="scrollview">
        <div data-role="page">Foo</div>
        <div data-role="page">Bar</div>
        <div data-role="page">Baz</div>
        <div data-role="page">Bat</div>
      </div>
      Next
    </div>


    <script>
    var app = new kendo.mobile.Application();

    function prev() {
      var scrollview = $("#scrollView").data("kendoMobileScrollView");
      scrollview.prev();
    }
    </script>
In this article