I am trying to associate my timer with a list in my project
<div class="row row-cols-2 justify-content-md-center" v-else-if="timerData.length <= 4" style="height: 100vh; background: none">
<div v-for="(t, index) in timerData" :key="t.name" class="col">
<timer
:name="t.name"
:start="t.start"
:index="index"
ref="timers"/> // This will replace the existing component
</div>
</div>
This is how I plan to access it:
this.$refs.timers.forEach(e => {
e.foo()
})