Expand description
Scroll container (ArkUI Scroll).
scroll_bar: scrollbar visibility — false/"off"/0 hide, "auto"/1
auto-fade, true/"on"/2 always show.
scroll_offset is a one-shot "x,y[,duration,...]" scroll command.
It is consumed after native attachment and is not declarative state.
Constants§
- NAME_
SPACE - Namespace for all ArkUI elements.
- TAG_
NAME - The canonical lowercase ArkUI tag used as the Dioxus element name.
- accessibility_
actions - Supported action names separated by
|, for exampleclick|long_click, or the equivalent bit mask. - accessibility_
checked - Explicit checked state exposed to accessibility services.
- accessibility_
description - Additional accessibility hint or description for this node.
- accessibility_
disabled - Explicit disabled state exposed to accessibility services.
- accessibility_
group - Whether this node and its descendants form one accessibility target.
- accessibility_
mode - Accessibility exposure mode:
auto,enabled,disabled, ordisabled_for_descendants. - accessibility_
role - Semantic role. Accepts ArkUI role names such as
button,checkbox,radio,switch,slider,progress, andtext. - accessibility_
selected - Explicit selected state exposed to accessibility services.
- accessibility_
text - Text announced by accessibility services for this node.
- accessibility_
value_ current - Integer current value for range controls.
- accessibility_
value_ max - Integer maximum value for range controls.
- accessibility_
value_ min - Integer minimum value for range controls.
- accessibility_
value_ range_ current - API-18 range current value.
- accessibility_
value_ range_ max - API-18 range maximum value.
- accessibility_
value_ range_ min - API-18 range minimum value.
- accessibility_
value_ text - Human-readable value announced for a range or stateful control.
- alignment
- aspect_
ratio - axis_
capture - Consume wheel/touchpad events before ancestor scrolling.
- background_
color - border_
color - border_
radius - border_
width - clip
- constraint_
size - enabled
- focus_
navigation - Native roving focus for a
verticalorhorizontallist. - focus_
scope - Move focus into this subtree on mount and restore it on removal.
- focus_
trap - Keep Tab and Shift+Tab within the active focus scope.
- height
- hit_
test_ behavior - key_
capture - Keys consumed synchronously before ArkUI’s default behavior.
- layout_
weight - margin
- margin_
bottom - margin_
horizontal - margin_
left - margin_
right - margin_
top - margin_
vertical - margin_
x - margin_
y - max_
height - max_
width - min_
height - min_
width - native_
ref - Bind this exact logical element to a
NativeElementRef. - opacity
- padding
- position
- scroll_
bar - scroll_
direction - scroll_
edge_ effect - scroll_
enabled - scroll_
offset - visibility
- width
- z_index