Skip to content
On this page

ActivityIndicator 活动指示器

vue
<template>
  <ta-group title="基础用法">
    <div class="exp-activityIndicator-box">
      <ta-activity-indicator />
    </div>
  </ta-group>
  <ta-group title="颜色 color=#ff4d4f">
    <div class="exp-activityIndicator-box">
      <ta-activity-indicator color="#ff4d4f" />
    </div>
  </ta-group>
  <ta-group title="大小 size=48">
    <div class="exp-activityIndicator-box">
      <ta-activity-indicator :size="48" />
    </div>
  </ta-group>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'ExpActivityIndicator'
})
</script>

Import

js
import { TaActivityIndicator } from 'tantalum-ui-mobile'

具体的引入方式可以参考引入组件

Props

属性类型默认值必填说明
sizenumber | string20宽高,单位 px
colorstring主色颜色值,如 #ff0000