Expand description
CSS properties for styling scrollbars.
Structs§
- Computed
Scrollbar Style - The final, resolved style for a scrollbar, after considering both standard and -webkit- properties. This struct is intended for use by the layout engine.
- Overscroll
BehaviorXY - Combined overscroll behavior for X and Y axes
- Scroll
Physics - Scroll physics configuration for momentum scrolling
- Scrollbar
Color Custom - Wrapper struct for custom scrollbar colors (thumb and track)
- Scrollbar
Info - Holds info necessary for layouting / styling -webkit-scrollbar properties.
- Scrollbar
Style - Scrollbar style for both horizontal and vertical scrollbars.
Enums§
- CssScrollbar
Style Parse Error - CssScrollbar
Style Parse Error Owned - Layout
Scrollbar Width - Represents the standard
scrollbar-widthproperty. - Layout
Scrollbar Width Parse Error - Layout
Scrollbar Width Parse Error Owned - Overscroll
Behavior - CSS
overscroll-behaviorproperty - controls overscroll effects https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior - Scroll
Behavior - CSS
scroll-behaviorproperty - controls smooth scrolling https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior - Style
Scrollbar Color - Represents the standard
scrollbar-colorproperty. - Style
Scrollbar Color Parse Error - Style
Scrollbar Color Parse Error Owned
Constants§
- SCROLLBAR_
ANDROID_ DARK - A modern, thin, overlay scrollbar inspired by Android (Dark Theme).
- SCROLLBAR_
ANDROID_ LIGHT - A modern, thin, overlay scrollbar inspired by Android (Light Theme).
- SCROLLBAR_
CLASSIC_ DARK - A classic dark-themed scrollbar.
- SCROLLBAR_
CLASSIC_ LIGHT - A classic light-themed scrollbar, similar to older Windows versions.
- SCROLLBAR_
IOS_ DARK - A modern, thin, overlay scrollbar inspired by iOS (Dark Theme).
- SCROLLBAR_
IOS_ LIGHT - A modern, thin, overlay scrollbar inspired by iOS (Light Theme).
- SCROLLBAR_
MACOS_ DARK - A modern, thin, overlay scrollbar inspired by macOS (Dark Theme).
- SCROLLBAR_
MACOS_ LIGHT - A modern, thin, overlay scrollbar inspired by macOS (Light Theme).
- SCROLLBAR_
WINDOWS_ DARK - A modern scrollbar inspired by Windows 11 (Dark Theme).
- SCROLLBAR_
WINDOWS_ LIGHT - A modern scrollbar inspired by Windows 11 (Light Theme).
Functions§
- parse_
layout_ scrollbar_ width - parse_
scrollbar_ style - parse_
style_ scrollbar_ color - resolve_
scrollbar_ style - Resolves the final scrollbar style for a node based on standard and non-standard CSS properties.