I'm working on an app using VUE JS and incorporating various components.
Within one of the components, I have a button that I want to change color when clicked. This button is responsible for selecting different items from a table, so I'd like it to change its background color to red, for example, whenever it's clicked in order to track selections.
<template>
<button class="mdc-icon-button material-icons" @click="doMultiple">delete_outline</button>
</template>
This code snippet shows the button in question. What would be the best way to incorporate styling changes upon clicking the button?
Your help is much appreciated!