Module scroll

Source
Expand description

Scroll View

Structs§

Border
Defines the border width of a scroll track in pixels.
Handle
Style class that will be applied to the handles of the scroll view
HideBars
Controls the visibility of scroll bars. When true, bars are hidden.
HorizontalInset
Defines the horizontal inset of the scrollable area in pixels.
OverflowClip
Enables clipping of overflowing content when set to true.
PropagatePointerWheel
Determines if pointer wheel events should propagate to parent elements.
Rounded
Determines if scroll handles should be rounded (defaults to true on macOS).
Scroll
A scroll view
ScrollClass
Style class that is applied to every scroll view
ScrollCustomStyle
Represents a custom style for a Scroll.
Thickness
Specifies the thickness of scroll handles in pixels.
Track
Style class that will be applied to the scroll tracks of the scroll view
VerticalInset
Specifies the vertical inset of the scrollable area in pixels.
VerticalScrollAsHorizontal
When true, vertical scroll input is interpreted as horizontal scrolling.

Traits§

ScrollExt
A trait that adds a scroll method to any type that implements IntoView.

Functions§

scroll
Create a new scroll view