Simple Typeahead
A typeahead example that gets values from a static
string[]
-
debounceTimeoperator - kicks in only if 2+ characters typed
- limits to 10 results
Model: {{ model | json }}
Wikipedia search
A typeahead example that gets values from the
WikipediaService
- remote data retrieval
-
debounceTimeoperator -
dooperator -
distinctUntilChangedoperator -
switchMapoperator -
catchoperator to display an error message in case of connectivity issue
searching...
Sorry, suggestions could not be loaded.
Model: {{ modelWiki | json }}
Formatted results
A typeahead example that uses a formatter function for string results
Model: {{ modelFormat | json }}
Template for results
A typeahead example that uses custom template for results display and uses object as a model
Model: {{ modelTemp | json }}