ion-skeleton-text
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
| Description | If true, the skeleton text will animate. |
| Attribute | animated |
| Type | boolean |
| Default | false |
事件
🌐 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
| Name | Description |
|---|---|
--background | Background of the skeleton text |
--background-rgb | Background of the skeleton text in rgb format |
--border-radius | Border radius of the skeleton text |
插槽
🌐 Slots
No slots available for this component.