velocityThreshold Number(default: 0.8)

The length of the horizontal swipe after which a swipe will navigate to the next page - as opposed to snapping back to the current page. Higher values require long area swipes to navigate to the next page.


<div id="scrollView" data-velocity-threshold="2">
  <div data-role="page">Foo</div>
  <div data-role="page">Bar</div>
  <div data-role="page">Baz</div>
  <div data-role="page">Bat</div>

    velocityThreshold: 2
In this article