Skip to main content

Scroller

Defines the mouse drag-and-drop scrolling.

Click​

AttributeTypeDefaultDescription
scroller.click.distance
integer2Distance threshold

In pixels

scroller.click.duration
integer300Duration threshold

In milliseconds

Mousewheel​

AttributeTypeDefaultDescription
scroller.mousewheel.speed
integer6Mouse wheel speed

Inertia​

AttributeTypeDefaultDescription
scroller.inertia.speed
integer500Inertia speed

Higher value is slower

scroller.inertia.acceleration
integer15Acceleration of the scroller
scroller.inertia.deceleration
integer30Deceleration of the scroller
scroller.inertia.friction
integer1Friction of the scroller

Bounces​

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

In seconds

scroller.bounce.friction
integer5Bounce's friction