close(noFocus) {
    this.popup.visible = false;
    this.triggerField.classList.remove('is-active');
    this.input.setAttribute('aria-expanded', 'false');
    const selected = this.querySelector('ids-list-box-option.is-selected');

    if (selected) {
      selected.classList.remove('is-selected');
      this.selectedOption.classList.add('is-selected');
    }

    this.removeOpenEvents();

    if (!noFocus) {
      this.input.focus();
    }
  }
/**
   * Close the dropdown popup
   * @param {boolean} noFocus if true do not focus on close
   */
Close the dropdown popup
@param {boolean} noFocus if true do not focus on close
Close the dropdown popup @param { boolean } noFocus if true do not focus on close
close(noFocus) {
    this.popup.visible = false;
    this.triggerField.classList.remove('is-active');
    this.input.setAttribute('aria-expanded', 'false');
    const selected = this.querySelector('ids-list-box-option.is-selected');
    if (selected) {
      selected.classList.remove('is-selected');
      this.selectedOption.classList.add('is-selected');
    }
    this.removeOpenEvents();
    if (!noFocus) {
      this.input.focus();
    }
  }
close ( noFocus ) { this . popup . visible = false ; this . triggerField . classList . remove ( 'is-active' ) ; this . input . setAttribute ( 'aria-expanded' , 'false' ) ; const selected = this . querySelector ( 'ids-list-box-option.is-selected' ) ; if ( selected ) { selected . classList . remove ( 'is-selected' ) ; this . selectedOption . classList . add ( 'is-selected' ) ; } this . removeOpenEvents ( ) ; if ( ! noFocus ) { this . input . focus ( ) ; } }
Close the dropdown popup
 @param {boolean} noFocus if true do not focus on close
Close the dropdown popup @param { boolean } noFocus if true do not focus on close