That works perfectly, thank you. It solved yet another problem I was facing, as the toolbar and the divs were in different components, so my first atempt wasn’t working.
Latest posts made by arqsergio
RE: Button Toggle to choose Div´s class
@s-molinari thanks for the response.
Doesn’t have to be dynamic, css classes will do fine.
The thing is, I am very new to quasar and vue, i know what computed properties are, just don’t know how to put all together?
1- at the button toggle i should use @input to call a function (myComputedproperty).
2- at the Computed section, in “myComputedproperty” i should use a switch to choose from the model: “this.Options”
3- on each “case” call the apropriate div class.
is that it?