set selected(value) {
    const isValueTruthy = IdsStringUtils.stringToBool(value);
    if (isValueTruthy) {
      this.setAttribute(attributes.SELECTED, true);
      this.setAttribute('tabindex', '0');
      if (!this.#prevSelected) {
        this.triggerEvent('itemselect', this, { bubbles: true });
      }
    } else {
      this.removeAttribute(attributes.SELECTED);
      this.setAttribute('tabindex', '-1');
    }

    this.#prevSelected = isValueTruthy;
  }
/**
   * Set the value of the selected attribute
   * @param {boolean} value the value of the attribute
   */
Set the value of the selected attribute
@param {boolean} value the value of the attribute
Set the value of the selected attribute @param { boolean } value the value of the attribute
set selected(value) {
    const isValueTruthy = IdsStringUtils.stringToBool(value);
    if (isValueTruthy) {
      this.setAttribute(attributes.SELECTED, true);
      this.setAttribute('tabindex', '0');
      if (!this.#prevSelected) {
        this.triggerEvent('itemselect', this, { bubbles: true });
      }
    } else {
      this.removeAttribute(attributes.SELECTED);
      this.setAttribute('tabindex', '-1');
    }
    this.#prevSelected = isValueTruthy;
  }
set selected ( value ) { const isValueTruthy = IdsStringUtils . stringToBool ( value ) ; if ( isValueTruthy ) { this . setAttribute ( attributes . SELECTED , true ) ; this . setAttribute ( 'tabindex' , '0' ) ; if ( ! this . #prevSelected ) { this . triggerEvent ( 'itemselect' , this , { bubbles : true } ) ; } } else { this . removeAttribute ( attributes . SELECTED ) ; this . setAttribute ( 'tabindex' , '-1' ) ; } this . #prevSelected = isValueTruthy ; }
Set the value of the selected attribute
 @param {boolean} value the value of the attribute
Set the value of the selected attribute @param { boolean } value the value of the attribute