src/components/table/helpers/mixin-busy.js
// Render the busy indicator or return `null` if not busy
Render the busy indicator or return `null` if not busy
Render the busy indicator or return ` null ` if not busy
renderBusy() {
      const h = this.$createElement
      if (this.computedBusy && this.hasNormalizedSlot(busySlotName)) {
        return h(
          BTr,
          {
            key: 'table-busy-slot',
            staticClass: 'b-table-busy-slot',
            class: [
              isFunction(this.tbodyTrClass)
                ? this.tbodyTrClass(null, busySlotName)
                : this.tbodyTrClass
            ]
          },
          [
            h(BTd, { props: { colspan: this.computedFields.length || null } }, [
              this.normalizeSlot(busySlotName)
            ])
          ]
        )
      } else {
        return null
      }
    }
renderBusy ( ) { const h = this . $createElement if ( this . computedBusy && this . hasNormalizedSlot ( busySlotName ) ) { return h ( BTr , { key : 'table-busy-slot' , staticClass : 'b-table-busy-slot' , class : [ isFunction ( this . tbodyTrClass ) ? this . tbodyTrClass ( null , busySlotName ) : this . tbodyTrClass ] } , [ h ( BTd , { props : { colspan : this . computedFields . length || null } } , [ this . normalizeSlot ( busySlotName ) ] ) ] ) } else { return null } }
Render the busy indicator or return `null` if not busy
Render the busy indicator or return ` null ` if not busy
// Return a busy indicator row, or `null` if not busy // Show the busy slot // We return `null` here so that we can determine if we need to // render the table items rows or not