ScrollbarOptions
Defined in: ui/src/types.ts:425
Size / style of the ScrollView scrollbar thumb.
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: ui/src/types.ts:431
Thumb alpha. Default 0.4.
color?
Section titled “color?”
optionalcolor?:number
Defined in: ui/src/types.ts:429
Thumb color. Default 0xffffff.
margin?
Section titled “margin?”
optionalmargin?:number
Defined in: ui/src/types.ts:437
Gap between the thumb and the viewport edge in px. Default 2.
minThumbLength?
Section titled “minThumbLength?”
optionalminThumbLength?:number
Defined in: ui/src/types.ts:435
Minimum thumb length along the scroll axis in px. Default 20.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: ui/src/types.ts:433
Thumb corner radius. Default thickness / 2.
thickness?
Section titled “thickness?”
optionalthickness?:number
Defined in: ui/src/types.ts:427
Thumb thickness (cross-axis) in px. Default 4.