Elements

组件

滚动区域 Scroll Area

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

#基础用法

scroll-area/basic Vue React

#属性

#Content

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

#Corner

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

#Root

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

#Scrollbar

属性类型默认值描述
orientationOrientation—

#Thumb

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

#Viewport

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