client/public/elements/components/download-list.js
/**
   * @method _onItemClick
   * @description Attached to click event on dropdown item, if no href is present.
   * Dispatches new-selection event
   * @param {Number} i - The dropdown index of the selected item.
   */
@method _onItemClick
@description Attached to click event on dropdown item, if no href is present.
Dispatches new-selection event
@param {Number} i - The dropdown index of the selected item.
@method _onItemClick @description Attached to click event on dropdown item if no href is present . Dispatches new - selection event @param { Number } i - The dropdown index of the selected item .
_onItemClick(i){
    this.selected = i;
    this.shadowRoot.getElementById('dropdown').close();
    this.dispatchEvent(this._newSelection);
  }
_onItemClick ( i ) { this . selected = i ; this . shadowRoot . getElementById ( 'dropdown' ) . close ( ) ; this . dispatchEvent ( this . _newSelection ) ; }
@method _onItemClick
 @description Attached to click event on dropdown item, if no href is present.
@method _onItemClick @description Attached to click event on dropdown item if no href is present .