forked from lsl/xzjl-ui
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.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| README.en-US.md | 3 years ago | |
| README.md | 3 years ago | |
| props.d.ts | 3 years ago | |
| props.js | 3 years ago | |
| skeleton.d.ts | 3 years ago | |
| skeleton.js | 3 years ago | |
| skeleton.json | 3 years ago | |
| skeleton.wxml | 3 years ago | |
| skeleton.wxss | 3 years ago | |
| type.d.ts | 3 years ago | |
| type.js | 3 years ago | |
README.en-US.md
:: 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 |
N |
| theme | String | text | options:avatar/image/text/paragraph | N |