prev

Switches to the previous page with an animation.

Example

<div id="scrollView" style="height: 150px">
    <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>
<script>
    var scrollView = $("#scrollView").kendoScrollView({ page: 1}).data().kendoScrollView;
    scrollView.prev();
</script>
In this article