client/public/elements/components/avatar.js
/**
   * @method _constructStyles
   * @description Constructs CSS styles based on element properties
   * 
   * @returns {Object}
   */
@method _constructStyles
@description Constructs CSS styles based on element properties

@returns {Object}
@method _constructStyles @description Constructs CSS styles based on element properties @returns { Object }
constructStyles() {
    let styles = {};
    if (this.src && this.src != 'undefined') {
      styles['background-image'] = `url(${this.src})`;
    }
    return styles;
  }
constructStyles ( ) { let styles = { } ; if ( this . src && this . src != 'undefined' ) { styles [ 'background-image' ] = ` ${ this . src } ` ; } return styles ; }
@method _constructStyles
 @description Constructs CSS styles based on element properties
@method _constructStyles @description Constructs CSS styles based on element properties