Configuration object for initializing the SearchFilter.
Internal
_inputA reference to the HTML navigation element the tab controller is bound to
A callback function to trigger when the tab is changed
The value of the current query string
The regular expression corresponding to the query that should be matched against
Static
OPERATORSThe allowed Filter Operators which can be used to define a search filter
Bind the SearchFilter controller to an HTML application
Perform a filtering of the content by invoking the callback function
The triggering keyboard event
The input search string
Release all bound HTML elements and reset the query.
Static
cleanClean a query term to standardize it for matching. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
An input string which may contain leading/trailing spaces or diacritics
A cleaned string of ASCII characters for comparison
Static
evaluateTest whether a given object matches a provided filter
An object to test against
The filter to test
Whether the object matches the filter
Static
testA helper method to test a value against a precomposed regex pattern.
The regular expression to test
The value to test against
Does the query match?
A controller class for managing a text input widget that filters the contents of some other UI element.