packages/cf-tables/src/TableSortable.js
function bindProperties() {
  let sortDirection;

  Object.defineProperty( this, 'sortDirection', {
    configurable: true,
    get: function() {
      return sortDirection;
    },
    set: function( value ) {
      if ( value === DIRECTIONS.UP ) {
        this.sortClass = this.classes.sortUp;
      } else if ( value === DIRECTIONS.DOWN ) {
        this.sortClass = this.classes.sortDown;
      }
      sortDirection = value;
    }
  } );
}
function bindProperties() {
  let sortDirection;

  Object.defineProperty( this, 'sortDirection', {
    configurable: true,
    get: function() {
      return sortDirection;
    },
    set: function( value ) {
      if ( value === DIRECTIONS.UP ) {
        this.sortClass = this.classes.sortUp;
      } else if ( value === DIRECTIONS.DOWN ) {
        this.sortClass = this.classes.sortDown;
      }
      sortDirection = value;
    }
  } );
}
function bindProperties ( ) { let sortDirection ; Object . defineProperty ( this , 'sortDirection' , { configurable : true , get : function ( ) { return sortDirection ; } , set : function ( value ) { if ( value === DIRECTIONS . UP ) { this . sortClass = this . classes . sortUp ; } else if ( value === DIRECTIONS . DOWN ) { this . sortClass = this . classes . sortDown ; } sortDirection = value ; } } ) ; }
Function used to create computed and trigger properties.
Function used to create computed and trigger properties .