feat: demonstrate animation
This commit is contained in:
parent
9a4f6d10f4
commit
6c61c96091
3 changed files with 36 additions and 6 deletions
|
|
@ -1,11 +1,15 @@
|
|||
<template>
|
||||
<div class="tab-content grid flex-col">
|
||||
<template v-for="(process, index) in $store.state.incremental.processes">
|
||||
<template v-for="(process, index) in $store.state.processes">
|
||||
<button :key="index" class="text-right font-semibold">
|
||||
{{ process.device }}
|
||||
{{ process.instrument }}
|
||||
</button>
|
||||
<div :key="index" class="progress-bar relative">
|
||||
<progress max="100" value="50" class="w-full h-full"></progress>
|
||||
<progress
|
||||
max="100"
|
||||
:value="process.completion"
|
||||
class="w-full h-full"
|
||||
></progress>
|
||||
<span
|
||||
class="absolute top-0 bottom-0 left-0 right-0 text-center text-white"
|
||||
>
|
||||
|
|
|
|||
Reference in a new issue