template() {
    const size = sizes[this.size];
    let template = `<svg xmlns="http://www.w3.org/2000/svg"${this.isFlipped(this.icon) ? ` class="flipped"` : ''} stroke="currentColor" fill="none" height="${size}" width="${size}" viewBox="0 0 18 18" aria-hidden="true">
      ${this.iconData()}
    </svg>`;
    if (this.badgePosition || this.badgeColor) {
      if (!this.badgePosition) {
        this.badgePosition = `bottom-right`;
      }
      if (!this.badgeColor) {
        this.badgeColor = `danger`;
      }
      template += `<span class="notification-badge ${this.badgePosition} ${this.badgeColor}"></span>`;
    }
    return template;
  }
/**
   * Create the Template for the contents
   * @returns {string} The template
   */
Create the Template for the contents
@returns {string} The template
Create the Template for the contents @returns { string } The template
template() {
    const size = sizes[this.size];
    let template = `<svg xmlns="http://www.w3.org/2000/svg"${this.isFlipped(this.icon) ? ` class="flipped"` : ''} stroke="currentColor" fill="none" height="${size}" width="${size}" viewBox="0 0 18 18" aria-hidden="true">
      ${this.iconData()}
    </svg>`;
    if (this.badgePosition || this.badgeColor) {
      if (!this.badgePosition) {
        this.badgePosition = `bottom-right`;
      }
      if (!this.badgeColor) {
        this.badgeColor = `danger`;
      }
      template += `<span class="notification-badge ${this.badgePosition} ${this.badgeColor}"></span>`;
    }
    return template;
  }
template ( ) { const size = sizes [ this . size ] ; let template = ` ${ this . isFlipped ( this . icon ) ? ` ` : '' } ${ size } ${ size } ${ this . iconData ( ) } ` ; if ( this . badgePosition || this . badgeColor ) { if ( ! this . badgePosition ) { this . badgePosition = ` ` ; } if ( ! this . badgeColor ) { this . badgeColor = ` ` ; } template += ` ${ this . badgePosition } ${ this . badgeColor } ` ; } return template ; }
Create the Template for the contents
 @returns {string} The template
Create the Template for the contents @returns { string } The template