src/dropdown.js
function(item, options) {
        toggleClass(this.$(HIGHLIGHT_SELECTOR), HIGHLIGHT_CLASS, false);
        toggleClass(this.$(getItemSelector(RESULT_ITEM_SELECTOR, item.id)), HIGHLIGHT_CLASS, true);

        this.highlightedResult = item;
        this.loadMoreHighlighted = false;

        this.selectivity.triggerEvent('selectivity-highlight', {
            item: item,
            id: item.id,
            reason: (options && options.reason) || 'unspecified'
        });
    }
function(item, options) {
        toggleClass(this.$(HIGHLIGHT_SELECTOR), HIGHLIGHT_CLASS, false);
        toggleClass(this.$(getItemSelector(RESULT_ITEM_SELECTOR, item.id)), HIGHLIGHT_CLASS, true);

        this.highlightedResult = item;
        this.loadMoreHighlighted = false;

        this.selectivity.triggerEvent('selectivity-highlight', {
            item: item,
            id: item.id,
            reason: (options && options.reason) || 'unspecified'
        });
    }
function ( item , options ) { toggleClass ( this . $ ( HIGHLIGHT_SELECTOR ) , HIGHLIGHT_CLASS , false ) ; toggleClass ( this . $ ( getItemSelector ( RESULT_ITEM_SELECTOR , item . id ) ) , HIGHLIGHT_CLASS , true ) ; this . highlightedResult = item ; this . loadMoreHighlighted = false ; this . selectivity . triggerEvent ( 'selectivity-highlight' , { item : item , id : item . id , reason : ( options && options . reason ) || 'unspecified' } ) ; }
Highlights a result item.

@param item The item to highlight.
@param options Optional options object that may contain the following property:
reason - The reason why the result item is being highlighted. Possible
values: 'current_value', 'first_result', 'hovered'.
Highlights a result item .