ScrollGestureRecognizerProps
trait · ferroui-view · v0.5.0
trait ScrollGestureRecognizerProps: ElementBuilder
The properties and routed events of ScrollGestureRecognizer.
Members
can_horizontally_scrollcan_vertically_scrollis_scroll_inertia_enabledscroll_start_distanceoffsetextentviewport
can_horizontally_scroll
fn can_horizontally_scroll<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollGestureRecognizer::can_horizontally_scroll_property.
can_vertically_scroll
fn can_vertically_scroll<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollGestureRecognizer::can_vertically_scroll_property.
is_scroll_inertia_enabled
fn is_scroll_inertia_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ScrollGestureRecognizer::is_scroll_inertia_enabled_property.
scroll_start_distance
fn scroll_start_distance<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets ScrollGestureRecognizer::scroll_start_distance_property.
offset
fn offset<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Vector>, M>) -> Self
Sets ScrollGestureRecognizer::offset_property.
extent
fn extent<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Size>, M>) -> Self
Sets ScrollGestureRecognizer::extent_property.
viewport
fn viewport<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Size>, M>) -> Self
Sets ScrollGestureRecognizer::viewport_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.