vue js class model code example
Example: vuejs :class
<div
class="static"
v-bind:class="{ active: isActive, 'text-danger': hasError }"
></div>
<div
class="static"
v-bind:class="{ active: isActive, 'text-danger': hasError }"
></div>