Class ScrollBar
Scroll bar - either vertical or horizontal.
Fields
Type | Name | Description |
---|---|---|
data
|
||
bool delegate(ScrollAction, float) |
onScroll
|
Scroll event listener. Carries scroll position after the default handling. |
orientation
|
Scrollbar orientation, horizontal by default | |
float |
position
|
Allows to explicitly control scrollbar position |
18 inherited fields
Methods
Name | Description |
---|---|
createElement
()
|
|
updateElement
(element)
|
10 inherited methods
CSS nodes
ScrollBar
├── .button-back
├── .button-forward
├── ScrollIndicator
├── PageScrollButton
╰── PageScrollButton