Skip to content

Use a controlled progress bar

TIP

you can controll progress value from 1 to 0 or 0 to 1

DANGER

you can only use toast.update to update progress value

example

<template>
  <h1>Hello {{ msg }}</h1>
</template>

<script setup lang="ts">
import { ref } from 'vue';
const msg = ref<string>('world');
</script>

Released under the MIT License.