11
scrollbar.go
11
scrollbar.go
@@ -9,6 +9,17 @@ var _ tomo.Object = new(Scrollbar)
|
||||
|
||||
// Scrollbar is a special type of slider that can control the scroll of any
|
||||
// overflowing ContainerObject.
|
||||
//
|
||||
// Sub-components:
|
||||
// - ScrollbarHandle is the grabbable handle of the scrollbar.
|
||||
//
|
||||
// Tags:
|
||||
// - [vertical] The scrollbar is oriented vertically.
|
||||
// - [horizontall] The scrollbar is oriented horizontally.
|
||||
//
|
||||
// ScrollbarHandle tags:
|
||||
// - [vertical] The handle is oriented vertically.
|
||||
// - [horizontall] The handle is oriented horizontally.
|
||||
type Scrollbar struct {
|
||||
box tomo.ContainerBox
|
||||
handle *sliderHandle
|
||||
|
||||
Reference in New Issue
Block a user