Namespace: autocomplete

Drupal. autocomplete

Autocomplete object implementation.

Members

staticDrupal.autocomplete.options

JQuery UI option object.

Methods

staticDrupal.autocomplete.extractLastTerm(terms){string}

Returns the last value of an multi-value textfield.

Name Type Description
terms string

The value of the field.

Returns:
Type Description
string The last value of the input field.

staticDrupal.autocomplete.splitValues(value){Array}

Helper splitting terms from the autocomplete value.

Name Type Description
value string

The value being entered by the user.

Returns:
Type Description
Array Array of values, split by comma.