set visible(val) {
    const trueVal = IdsStringUtils.stringToBool(val);
    if (this.#visible !== trueVal) {
      this.#visible = trueVal;
      if (trueVal) {
        this.setAttribute(attributes.VISIBLE, '');
      } else {
        this.removeAttribute(attributes.VISIBLE);
      }
      this.refreshVisibility();
    }
  }
/**
   * Whether or not the component should be displayed
   * @param {boolean} val a boolean for displaying or hiding the popup
   */
Whether or not the component should be displayed
@param {boolean} val a boolean for displaying or hiding the popup
Whether or not the component should be displayed @param { boolean } val a boolean for displaying or hiding the popup
set visible(val) {
    const trueVal = IdsStringUtils.stringToBool(val);
    if (this.#visible !== trueVal) {
      this.#visible = trueVal;
      if (trueVal) {
        this.setAttribute(attributes.VISIBLE, '');
      } else {
        this.removeAttribute(attributes.VISIBLE);
      }
      this.refreshVisibility();
    }
  }
set visible ( val ) { const trueVal = IdsStringUtils . stringToBool ( val ) ; if ( this . #visible !== trueVal ) { this . #visible = trueVal ; if ( trueVal ) { this . setAttribute ( attributes . VISIBLE , '' ) ; } else { this . removeAttribute ( attributes . VISIBLE ) ; } this . refreshVisibility ( ) ; } }
Whether or not the component should be displayed
 @param {boolean} val a boolean for displaying or hiding the popup
Whether or not the component should be displayed @param { boolean } val a boolean for displaying or hiding the popup