Can Vue be used to remove a class from an element? I am looking to remove the class when hovering over the element, and then add it back once the mouse is no longer on the text.
Additionally, I want the class to be removed when the element is clicked.
Here is an example of what I am attempting:
<span class="text-muted">All | </span>
<span class="text-muted">Visible | </span>
<span class="text-muted">Hidden</span>
Upon page load, the first span should not have the class until another element is clicked.