Skip to content
目录

CountTo

示例

显示代码
html
<template>
  <BiCountTo :start-val="0" :end-val="666666" :duration="5000" />
</template>
<script lang="ts" setup>
  import { BiCountTo } from "@big0range/ui";
</script>

Attributes

参数说明类型可选值默认
startVal起始数字number0
endVal结束数字number0
duration持续时长number1000
decimals小数点位数number2
separator千位分隔符string,
prefix前缀string
suffix后缀string