Skip to main content

Scroller

Defines the mouse drag-and-drop scrolling.

Click​

AttributeTypeDefaultDescription
scroller.click.distanceinteger2Distance threshold

In pixels

scroller.click.durationinteger300Duration threshold

In milliseconds

Mousewheel​

AttributeTypeDefaultDescription
scroller.mousewheel.speedinteger6Mouse wheel speed

Inertia​

AttributeTypeDefaultDescription
scroller.inertia.speedinteger500Inertia speed

Higher value is slower

scroller.inertia.accelerationinteger15Acceleration of the scroller
scroller.inertia.decelerationinteger30Deceleration of the scroller
scroller.inertia.frictioninteger1Friction of the scroller

Bounces​

AttributeTypeDefaultDescription
scroller.bounce.durationfloat0.3Bounce's transition duration

In seconds

scroller.bounce.frictioninteger5Bounce's friction