I have the following timer card for a timer app that I am making and I want to have a border slowly wrap around it as it counts down similar to this code pen. https://codepen.io/Mamboleoo/pen/zYOJOGb The progress has to be controlled by JS.
I am using VueJS with Vuetify and here is the code that I have.
<v-col
cols="12"
sm="4"
xs="4" v-for="timer in formattedTimers" :key="timer.id">
<v-card :class="{jiggle : editmode}" max-width="200" class="mx-auto" outlined>
<v-list-item three-line>
<v-list-item-content>
<div class="headline mb-8 text-center">{{ timer.name }}</div>
<v-list-item-title class="headline mb-4 text-center">{{ parseTime(timer.timeLeft) }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-card-actions>
<div v-if="!editmode">
<v-btn @click="zeroTimer(timer.id)" left>Zero</v-btn>
<v-btn color="primary" @click="resetTimer(timer.id)" right absolute>Reset</v-btn>
</div>
<div v-else>
<v-btn color="primary" @click="deleteTimer(timer.id)" left>Delete</v-btn>
</div>
</v-card-actions>
</v-card>
</v-col>
