Skip to content

Skeleton 骨架屏组件 ​

骨架屏组件,加载占位动画。

基础用法 ​

vue
<template>
  <parrot-skeleton />
</template>

API ​

Props ​

属性类型默认值说明
rowsnumber3行数
avatarbooleanfalse头像占位
titlebooleantrue标题占位
animatebooleantrue动画
loadingbooleantrue加载状态

Slots ​

插槽说明
default默认内容
9:41

Released under the MIT License.