[Vuejs]-Can i add include v-if , v-for ,v-bind for a same class in vue.js?

0๐Ÿ‘

   <div
      v-for="report in reports"
      :key="report.property"
      :class="['printIconSection', { 'title-long' : changeTitle }]">

      <div class="printIcon" id="printReport_AId" v-if="isOverview">
       <font-awesome-icon :icon="report.icon" @click="printWindow()"/>
      </div>

    </div>

Try doing this.
I hope it helps

Leave a comment