Namespace: autocomplete

Drupal.autocomplete

Autocomplete object implementation.

Source:

Members

(static) options

JQuery UI option object.

Source:

Methods

(static) extractLastTerm(terms) → {string}

Returns the last value of an multi-value textfield.

Parameters:
Name Type Description
terms string

The value of the field.

Source:
Returns:

The last value of the input field.

Type
string

(static) splitValues(value) → {Array}

Helper splitting terms from the autocomplete value.

Parameters:
Name Type Description
value string

The value being entered by the user.

Source:
Returns:

Array of values, split by comma.

Type
Array