vue-components/connection-list/component.js
/**
     * Opens the connection at the specified `index`.
     * @param {number} index
     *   The index within the list of connections corresponding to the one
     *   that should be opened.
     */
Opens the connection at the specified `index`.
@param {number} index
The index within the list of connections corresponding to the one
that should be opened.
Opens the connection at the specified ` index ` . @param { number } index The index within the list of connections corresponding to the one that should be opened .
openConn(index) {
      this.isShowingLoader = true;
      this.login(this.connections[index], false, (err, res) => {
        this.isShowingLoader = false;
        if (res) {
          this.$emit('select', index);
        }
      });
    }
openConn ( index ) { this . isShowingLoader = true ; this . login ( this . connections [ index ] , false , ( err , res ) => { this . isShowingLoader = false ; if ( res ) { this . $emit ( 'select' , index ) ; } } ) ; }
Opens the connection at the specified `index`.
Opens the connection at the specified ` index ` .