pageSize Number(default: 1)

Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the pageSize property is set to 0.5, the ScrollView will scroll by half of the widget width.

Not applicable in data bound mode.


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

var app = new;
In this article