Skip to main content

ion-skeleton-text

shadow

Skeleton Text 是一个用于渲染占位内容的组件。该元素将在指定宽度处渲染一个灰色块。

🌐 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.