ScrollBarProps
trait · ferroui-view · v0.5.0
trait ScrollBarProps: ElementBuilder
The properties and routed events of ScrollBar.
Members
viewport_size
fn viewport_size<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets ScrollBar::viewport_size_property.
visibility
fn visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self
Sets ScrollBar::visibility_property.
orientation
fn orientation<M>(self: Self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self
Sets ScrollBar::orientation_property.
allow_auto_hide
fn allow_auto_hide<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollBar::allow_auto_hide_property.
hide_delay
fn hide_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
Sets ScrollBar::hide_delay_property.
show_delay
fn show_delay<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
Sets ScrollBar::show_delay_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.