Class type Goog.​Ui.​AutoComplete.​arrayMatcher

class type arrayMatcher = object..end

Class goog.ui.AutoComplete.ArrayMatcher


method requestMatchingRows : 
Js.js_string Js.t ->
int -> (unit -> unit) -> Js.js_string Js.opt -> unit Js.meth

Function used to pass matches to the autocomplete.

method getPrefixMatches : 
Js.js_string Js.t -> int -> Js.js_string Js.t array

Matches the token against the start of words in the row. Returns Rows that match.

method getSimilarRows : 
Js.js_string Js.t -> int -> Js.js_string Js.t array

Matches the token against similar rows, by calculating "distance" between the terms. Returns The best maxMatches rows.