client/public/elements/components/avatar.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 = {};
    if (this.size && this.size != 'undefined') {
      classes['size-' + this.size] = true;
    }
    if (this.src && this.src != 'undefined') {
      classes['photo'] = true;
    }
    return classes;
  }
constructClasses ( ) { let classes = { } ; if ( this . size && this . size != 'undefined' ) { classes [ 'size-' + this . size ] = true ; } if ( this . src && this . src != 'undefined' ) { classes [ 'photo' ] = true ; } return classes ; }
@method _constructClasses
 @description Constructs CSS classes based on element properties
@method _constructClasses @description Constructs CSS classes based on element properties