Skip to main content

Module segmented

Module segmented 

Source
Expand description

分段控件:胶囊轨道 + 弹簧滑块。

Structs§

SegmentedControlProps
Props for the SegmentedControl component.
SegmentedItem
分段控件的一项:值、文字,可选图标与数量。

Enums§

SegmentedKind
语义:Tabs = tablist/tab + aria-selected(切换视图、筛选); Radio = radiogroup/radio + aria-checked(设置取值)。
SegmentedSize

Functions§

SegmentedControl
分段控件。
neighbor_index 🔒
循环移动到相邻项(←/→ 用);没有当前项时从第 0 项起算。