async refreshVisibility() {
    const cl = this.container.classList;
    if (this.#visible && !cl.contains('open')) {
      return this.show();
    }
    if (!this.#visible && cl.contains('visible')) {
      return this.hide();
    }
    return new Promise((resolve) => { resolve(); });
  }
/**
   * Runs the show/hide routines of the Popup based on current visiblity state.
   * @async
   * @returns {Promise} from the show/hide process
   */
Runs the show/hide routines of the Popup based on current visiblity state.
@async
@returns {Promise} from the show/hide process
Runs the show / hide routines of the Popup based on current visiblity state . @async @returns { Promise } from the show / hide process
async refreshVisibility() {
    const cl = this.container.classList;
    if (this.#visible && !cl.contains('open')) {
      return this.show();
    }
    if (!this.#visible && cl.contains('visible')) {
      return this.hide();
    }
    return new Promise((resolve) => { resolve(); });
  }
async refreshVisibility ( ) { const cl = this . container . classList ; if ( this . #visible && ! cl . contains ( 'open' ) ) { return this . show ( ) ; } if ( ! this . #visible && cl . contains ( 'visible' ) ) { return this . hide ( ) ; } return new Promise ( ( resolve ) => { resolve ( ) ; } ) ; }
Runs the show/hide routines of the Popup based on current visiblity state.
Runs the show / hide routines of the Popup based on current visiblity state .