Create an independently owned native scrollbar component for an element.
elementLive host; its built-in component remains separate.
Disable and hide a native scrollbar.
orientationNative scrollbar direction.
Enable and size a native scrollbar.
orientationNative scrollbar direction.
elementWidthFinite nonnegative host width for percentages.
Format enabled scrollbars using Rml::ElementScroll::FormatScrollbars.
Get the live scrollbar element for the requested orientation.
orientationNative scrollbar direction.
Live element or null if it has never been created.
Read native width for vertical or height for horizontal scrollbars.
orientationNative scrollbar direction.
Size in pixels, zero when disabled.
Run Rml::ElementScroll::Update.
Update scrollbar properties using Rml::ElementScroll::UpdateProperties.
Synchronize the scrollbar position from native scrolling state.
orientationNative scrollbar direction.
Owned Rml::ElementScroll or checked view of Element::GetElementScroll.
Remarks
The constructor creates a distinct native component. Element destruction invalidates both forms; their tokens retain detached hosts and callbacks. Owned component GC defers listener teardown to the outer native boundary.