code: function (e) {
        var $el = $(e.target);
        e.preventDefault();
        if (!$el.hasClass('textcomplete-item')) {
          $el = $el.closest('.textcomplete-item');
        }
        this._index = parseInt($el.data('index'), 10);
        this._activateIndexedItem();
      }
docs: Activate hovered item.