class bind methods class code example Example: bind class <div v-bind:class="{ active: isActive }"></div>