set visible(val) {
    const trueVal = IdsStringUtils.stringToBool(val);

    this.state.visible = trueVal;
    this.#smoothlyAnimateVisibility(trueVal);
  }
/**
   * @param {boolean} val true if the overlay should be made visible
   */
@param {boolean} val true if the overlay should be made visible
@param { boolean } val true if the overlay should be made visible
set visible(val) {
    const trueVal = IdsStringUtils.stringToBool(val);
    this.state.visible = trueVal;
    this.#smoothlyAnimateVisibility(trueVal);
  }
set visible ( val ) { const trueVal = IdsStringUtils . stringToBool ( val ) ; this . state . visible = trueVal ; this . #smoothlyAnimateVisibility ( trueVal ) ; }
@param {boolean} val true if the overlay should be made visible
@param { boolean } val true if the overlay should be made visible