The goog.ui.ac.AutoComplete.EventType Enum

goog.ui.ac.AutoComplete.EventType

Events associated with the autocomplete

@enum
{string}

.CANCEL_DISMISS

Event that cancels a dismiss event

.DISMISS

A dismiss event has occurred

.HILITE

A row has been mouseovered and should be highlighted by the renderer.

.ROW_HILITE

A row has been highlighted by the renderer

.SELECT

A row has been selected by the renderer

.SUGGESTIONS_UPDATE

The list of suggestions has been updated, usually because either the list has opened, or because the user has typed another character and the suggestions have been updated, or the user has dismissed the autocomplete.

.UPDATE

Field value was updated. A row field is included and is non-null when a row has been selected. The value of the row typically includes fields: contactData and formattedValue as well as a toString function (though none of these fields are guaranteed to exist). The row field may be used to return custom-type row data.