client/public/elements/components/dropdown.js
/**
   * @method _constructClasses
   * @description Constructs CSS classes based on element properties
   * 
   * @returns {Object}
   */
@method _constructClasses
@description Constructs CSS classes based on element properties

@returns {Object}
@method _constructClasses @description Constructs CSS classes based on element properties @returns { Object }
_constructClasses() {
    let classes = {};
    classes.opened = this.opened;
    if (this._parseChoices().length === 0) {
      classes.hidden = true;
    }
    if ( this.noPadding ) {
      classes.nopadding = true;
    }
    if ( this.stickyTitle ) {
      classes.stickytitle = true;
    }
    if ( this.toUpperCase ) {
      classes.upper = true;
    }
    if ( this.filterIcon ) {
      classes['has-filter-icon'] = true;
    }
    if ( this.themeColor ) {
      classes['color-' + this.themeColor] = true;
    }
    return classes;
  }
_constructClasses ( ) { let classes = { } ; classes . opened = this . opened ; if ( this . _parseChoices ( ) . length === 0 ) { classes . hidden = true ; } if ( this . noPadding ) { classes . nopadding = true ; } if ( this . stickyTitle ) { classes . stickytitle = true ; } if ( this . toUpperCase ) { classes . upper = true ; } if ( this . filterIcon ) { classes [ 'has-filter-icon' ] = true ; } if ( this . themeColor ) { classes [ 'color-' + this . themeColor ] = true ; } return classes ; }
@method _constructClasses
 @description Constructs CSS classes based on element properties
@method _constructClasses @description Constructs CSS classes based on element properties