Skip to content

Agent Progress ​

Vue 已实现 · 还原验收 0/1 · 上游演示 · 固定版本源码

预览 ​

Churning

用法 ​

vue
<script setup lang="ts">
import { AgentProgress } from 'beui-vue'
import { ref } from 'vue'
const running = ref(true)
</script>
<template><div><AgentProgress label="Churning" :initial-seconds="151.6" :running="running" /><button type="button" class="be-agent-button" @click="running = !running">{{ running ? 'Pause' : 'Resume' }}</button></div></template>

API ​

label 标记活动,initialSeconds 初始化内部计时器,running 暂停或恢复,elapsedSeconds 切换为外部控制。

上游变体 ​

还原验收 ​

基于 beUI 的独立 Vue 移植,依 MIT 许可证分发。