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.
|
1 year ago | |
---|---|---|
.. | ||
README.en-US.md | 1 year ago | |
README.md | 1 year ago | |
props.d.ts | 1 year ago | |
props.js | 1 year ago | |
skeleton.d.ts | 1 year ago | |
skeleton.js | 1 year ago | |
skeleton.json | 1 year ago | |
skeleton.wxml | 1 year ago | |
skeleton.wxs | 1 year ago | |
skeleton.wxss | 1 year ago | |
type.d.ts | 1 year ago | |
type.js | 1 year 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 |