You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
:: BASE_DOC ::
|
|
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
### Skeleton Props
|
|
|
|
|
|
|
|
|
|
name | type | default | description | required
|
|
|
|
|
-- | -- | -- | -- | --
|
|
|
|
|
animation | String | none | options:gradient/flashed/none | N
|
|
|
|
|
delay | Number | 0 | \- | N
|
|
|
|
|
external-classes | Array | - | `['t-class', 't-class-avatar', 't-class-image', 't-class-text']` | N
|
|
|
|
|
loading | Boolean | true | \- | N
|
|
|
|
|
row-col | Array | [1, 1, 1, { width: '70%' }] | Typescript:`SkeletonRowCol` `type SkeletonRowCol = Array<Number \| SkeletonRowColObj \| Array<SkeletonRowColObj>>` `interface SkeletonRowColObj { width?: string; size?: string;height?: string; marginRight?: string; marginLeft?: string; margin?: string; type?: 'rect' \| 'circle' \| 'text';}`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/skeleton/type.ts) | N
|
|
|
|
|
theme | String | text | options:avatar/image/text/paragraph | N
|