async place() {
    return new Promise((resolve) => {
      if (this.visible) {
        if (this.positionStyle === 'viewport') {
          this.#placeInViewport();
        } else {
          const { alignTarget } = this;
          if (!alignTarget) {
            this.#placeAtCoords();
          } else {
            this.#placeAgainstTarget();
          }
        }
        resolve();
      }
    });
  }
/**
   * Runs the configured placement routine for the Popup
   * @async
   * @returns {Promise} resolved once placement has finished
   */
Runs the configured placement routine for the Popup
@async
@returns {Promise} resolved once placement has finished
Runs the configured placement routine for the Popup @async @returns { Promise } resolved once placement has finished
async place() {
    return new Promise((resolve) => {
      if (this.visible) {
        if (this.positionStyle === 'viewport') {
          this.#placeInViewport();
        } else {
          const { alignTarget } = this;
          if (!alignTarget) {
            this.#placeAtCoords();
          } else {
            this.#placeAgainstTarget();
          }
        }
        resolve();
      }
    });
  }
async place ( ) { return new Promise ( ( resolve ) => { if ( this . visible ) { if ( this . positionStyle === 'viewport' ) { this . #placeInViewport ( ) ; } else { const { alignTarget } = this ; if ( ! alignTarget ) { this . #placeAtCoords ( ) ; } else { this . #placeAgainstTarget ( ) ; } } resolve ( ) ; } } ) ; }
Runs the configured placement routine for the Popup
 @async
 @returns {Promise} resolved once placement has finished
Runs the configured placement routine for the Popup @async @returns { Promise } resolved once placement has finished