Elements

参考

滚动区域 Scroll Area

ScrollArea:滚动区域。用低调的墨色滚动条替代原生滚动条,悬停和滚动时显示。部件:Root、Viewport、Content、Scrollbar、Thumb、Corner。

Root · Viewport · Content · Scrollbar · Thumb · Corner

#Content

纯造型的部件——自身没有属性,沿用部件结构的共享样式。

#Corner

纯造型的部件——自身没有属性,沿用部件结构的共享样式。

#Root

属性类型默认值描述
idstring组件内部状态机的唯一标识
idsPartial<{ root: string; viewport: string; content: string; scrollbar: string; thumb: string; }>滚动区域各元素的 id

#Scrollbar

属性类型默认值描述
orientationOrientation—

#Thumb

纯造型的部件——自身没有属性,沿用部件结构的共享样式。

#Viewport

纯造型的部件——自身没有属性,沿用部件结构的共享样式。