The goog.ui.ac Namespace

The goog.ui.ac.ArrayMatcher Class

Basic class for matching words in an array … more

The goog.ui.ac.AutoComplete Class

This is the central manager class for an AutoComplete instance. … more

The goog.ui.ac.InputHandler Class

Class for managing the interaction between an auto-complete object and a text-input or textarea. … more

The goog.ui.ac.Remote Class

Factory class for building a remote autocomplete widget that autocompletes an inputbox or text area from a data array provided via ajax. … more

The goog.ui.ac.RemoteArrayMatcher Class

An array matcher that requests matches via ajax. … more

The goog.ui.ac.RenderOptions Class

A simple class that contains options for rendering a set of autocomplete matches. Used as an optional argument in the callback from the matcher. … more

The goog.ui.ac.Renderer Class

Class for rendering the results of an auto-complete in a drop down list. … more

The goog.ui.ac.RichInputHandler Class

Class for managing the interaction between an autocomplete object and a text-input or textarea. … more

The goog.ui.ac.RichRemote Class

Factory class to create a rich autocomplete widget that autocompletes an inputbox or textarea from data provided via ajax. The server returns a complex data structure that is used with client-side javascript functions to render the results. … more

The goog.ui.ac.RichRemoteArrayMatcher Class

An array matcher that requests rich matches via ajax and converts them into rich rows. … more

.createSimpleAutoComplete(data, input, opt_multi, opt_useSimilar)

Factory function for building a basic autocomplete widget that autocompletes an inputbox or text area from a data array.

data {Array}
Data array.
input {Element}
Input element or text area.
opt_multi {boolean=}
Whether to allow multiple entries separated with semi-colons or commas.
opt_useSimilar {boolean=}
use similar matches. e.g. "gost" => "ghost".
returns {!goog.ui.ac.AutoComplete}
A new autocomplete object.