I'm building an app with VUE JS, using different components.
In one of them, I have a button that I would like that change the color when I click on it. This button is choosing different items from a table, so when I press that button I want that the background of that button change to red for example to know which ones I have clicked.
<template>
<button class="mdc-icon-button material-icons" @click="doMultiple">delete_outline</button>
</template>
This is the button. How can I add there the style when button be clicked?
Thanks in advance!