I have some buttons inside a Vue v-for list of items.
Every time I click on one I want to briefly add a class for a special CSS click effect. I added this easily with jQuery. But how would I do this with just Vue?
@mesqueeb did you figure this out? I have to do something very similar now. I'm not sure if the first reply works. If it does, can you elaborate on it, because I am not understanding it?
<div v-for="coord in handles" class="handle" :style="getHandleStyle(coord)">
<div class="delete-point"></div>
</div>
In my particular case I need to add a class to the .handle element on mousedown and then on mouseup i need to set a timeout to remove that class from .handle