plushie/widget/scrollable
Scrollable widget builder (scrollable viewport container).
Types
pub opaque type Scrollable
Values
pub fn a11y(s: Scrollable, a: a11y.A11y) -> Scrollable
Set accessibility properties for this widget.
pub fn auto_scroll(s: Scrollable, enabled: Bool) -> Scrollable
Set whether auto-scroll is enabled.
pub fn direction(
s: Scrollable,
d: direction.Direction,
) -> Scrollable
Set the direction.
pub fn extend(
s: Scrollable,
children: List(node.Node),
) -> Scrollable
Add multiple child nodes.
pub fn scrollbar_color(
s: Scrollable,
c: color.Color,
) -> Scrollable
Set the scrollbar track color.
pub fn scrollbar_margin(s: Scrollable, m: Float) -> Scrollable
Set the scrollbar margin.
pub fn scrollbar_width(s: Scrollable, w: Float) -> Scrollable
Set the scrollbar width.
pub fn scroller_color(
s: Scrollable,
c: color.Color,
) -> Scrollable
Set the scroller (thumb) color.
pub fn scroller_width(s: Scrollable, w: Float) -> Scrollable
Set the scroller (thumb) width.