Skip to main content

ion-skeleton-text

shadow

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

¥Skeleton Text is a component for rendering placeholder content. The element will render a gray block at the specified width.

基本用法

¥Basic Usage

主题化

¥Theming

CSS 自定义属性

¥CSS Custom Properties

属性

¥Properties

animated

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

事件

¥Events

No events available for this component.

方法

¥Methods

No public methods available for this component.

CSS 阴影部分

¥CSS Shadow Parts

No CSS shadow parts available for this component.

CSS 自定义属性

¥CSS Custom Properties

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

插槽

¥Slots

No slots available for this component.