class
Scroll


Known Subclasses:  HorizontalScroll, VerticalScroll

A scrollbar component, like the ones you see in a browser.

behaviour
bindable
increment:Float
a stepping value to snap the thumb to, visually:

if pos is 7 and step is 2, the thumb will be moved to 8
behaviour
bindable
max:Float
A maximum value to calculate the position of the thumb from. defaults to 100.
behaviour
bindable
min:Float
A minimum value to calculate the position of the thumb from. defaults to 0.
behaviour
bindable
pageSize:Float
When pressing on the scrollbar itself, decides how much should the thumb jump towards the mouse's position:

0 - no jump (default)
5 - jump 5 pixels towards the mouse's position
-5 - jump 5 pixels away from the mouse's position

also decides the width/height of the thumb itself, depending on the orientation. when values are below 0,
the default thumb is used
behaviour
bindable
pos:Float
The current position of the thumb inside the scrollbar.
behaviour
bindable
thumbSize:Null<Float>
Can be used to specify a fixed size (in pixels) for the thumb


override
cloneComponent():Scroll