class
The class
property can be configured in 3 ways. Either as an Object
, Array
or simply a String
. This is essentially the same API as v-bind:class
uses.
Object
An Object
must have the classes as keys and the keys' value should be a Boolean
.
Array
An Array
should be a an array of strings, multidimensional arrays or arrays with any other values other than strings are not supported.
String
Last updated