dist/vue-good-table.cjs.js
function getClasses(index$$1, element, row) {
      var _this$typedColumns$in = this.typedColumns[index$$1],
          typeDef = _this$typedColumns$in.typeDef,
          custom = _this$typedColumns$in["".concat(element, "Class")];

      var isRight = typeDef.isRight;
      if (this.rtl) isRight = true;
      var classes = {
        'vgt-right-align': isRight,
        'vgt-left-align': !isRight
      }; // for td we need to check if value is
      // a function.

      if (typeof custom === 'function') {
        classes[custom(row)] = true;
      } else if (typeof custom === 'string') {
        classes[custom] = true;
      }

      return classes;
    }
function getClasses(index$$1, element, row) {
      var _this$typedColumns$in = this.typedColumns[index$$1],
          typeDef = _this$typedColumns$in.typeDef,
          custom = _this$typedColumns$in["".concat(element, "Class")];

      var isRight = typeDef.isRight;
      if (this.rtl) isRight = true;
      var classes = {
        'vgt-right-align': isRight,
        'vgt-left-align': !isRight
      }; // for td we need to check if value is
      // a function.

      if (typeof custom === 'function') {
        classes[custom(row)] = true;
      } else if (typeof custom === 'string') {
        classes[custom] = true;
      }

      return classes;
    }
function getClasses ( index$$1 , element , row ) { var _this$typedColumns$in = this . typedColumns [ index$$1 ] , typeDef = _this$typedColumns$in . typeDef , custom = _this$typedColumns$in [ "" . concat ( element , "Class" ) ] ; var isRight = typeDef . isRight ; if ( this . rtl ) isRight = true ; var classes = { 'vgt-right-align' : isRight , 'vgt-left-align' : ! isRight } ; // for td we need to check if value is // a function. if ( typeof custom === 'function' ) { classes [ custom ( row ) ] = true ; } else if ( typeof custom === 'string' ) { classes [ custom ] = true ; } return classes ; }
Get classes for the given column index & element.
Get classes for the given column index & element .