client/public/elements/components/quick-search.js
/**
   * @method _handleClick
   * @description Bound to element click event. 
   * Will fire new-search event if applicable
   * Will display the search input if not a search submission
   */
@method _handleClick
@description Bound to element click event.
Will fire new-search event if applicable
Will display the search input if not a search submission
@method _handleClick @description Bound to element click event . Will fire new - search event if applicable Will display the search input if not a search submission
_handleClick(){
    if ( this.opened ) {
      if( this.inputEle.value === '' ) {
        this.close();
        return;
      }
      this.dispatchEvent(this._newSearchEvent());
      return;
    }
    this.open();
  }
_handleClick ( ) { if ( this . opened ) { if ( this . inputEle . value === '' ) { this . close ( ) ; return ; } this . dispatchEvent ( this . _newSearchEvent ( ) ) ; return ; } this . open ( ) ; }
@method _handleClick
 @description Bound to element click event.
@method _handleClick @description Bound to element click event .