api.md 1.7 KB

Loading Props

名称 类型 默认值 必传 说明
type string '1_0' N 类型编号。
height '2'\|'4'\|'6'\|'8'\|'12'\|'16'\|'20'\|'28'\|'36'\|'48'\|'56'\|'64'\|'72'\|'80'\|'96'\|'full' '8' N 容器高度。
width '2'\|'4'\|'6'\|'8'\|'12'\|'16'\|'20'\|'28'\|'36'\|'48'\|'56'\|'64'\|'72'\|'80'\|'96'\|'full' '8' N 容器宽度。
theme boolean false N 是否使用主题色,仅单色生效。
inverse boolean false N 是否使用反差色,仅单色与双色生效。
customColor string[] [] N 自定义颜色数组。
lazyAnimation boolean true N 是否开启懒动画。
speed number 1 N 动画速度,基数为 1。