Class ScrollBar

Scroll bar - either vertical or horizontal.

class ScrollBar
  : Widget

Fields

TypeNameDescription
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

NameDescription
createElement ()
updateElement (element)

10 inherited methods

CSS nodes

ScrollBar
├── .button-back
├── .button-forward
├── ScrollIndicator
├── PageScrollButton
╰── PageScrollButton