跳到主要内容
版本:v8

文本骨架加载占位符组件

shadow

骨架文本组件用于渲染占位内容。该元素将以指定宽度渲染一个灰色块。

基本用法

主题定制

CSS 自定义属性

属性

animated

DescriptionIf true, the skeleton text will animate.
Attributeanimated
Typeboolean
Defaultfalse

事件

No events available for this component.

方法

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS 自定义属性

NameDescription
--backgroundBackground of the skeleton text
--background-rgbBackground of the skeleton text in rgb format
--border-radiusBorder radius of the skeleton text

插槽

No slots available for this component.