I have this code:
<b-button
id="search-button"
size="md"
class="mt-1 w-100"
type="submit"
@click="someEvent()"
>Example
</b-button
Let's say I call someEvent() and in the script I want to change the value of class="mt-1 w-100" to class="mt-1 w-90"
One workaround for this is to define a style in the b-button and do document.getElementById("search-button").style.width = "90px"; in the script, but that's not what I'm looking for.
The question is, how do I access the class utilities/values and change them directly from the script.