Is there a way to assign one of two classes to an element based on three possible input variables in my Vue.js code?
<input type='text' class='inputwordtext' v-bind:class="{(wordupload.firstchoice.selected == 'Zinnenlijst') : wordlongwidth, (wordupload.firstchoice.selected != 'Zinnenlijst') : wordshortwidth}">
I want the element to have the class "wordlongwidth" if wordupload.firstchoice.selected is equal to Zinnenlijst. Otherwise, it should have the class "wordshortwidth". How can I achieve this?