next

Switches to the next page with animation.

Example

<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>
  <a data-role="button" data-click="next">Next</a>
</div>

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

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