vue-typeahead-bootstrap
vue-typeahead-bootstrap copied to clipboard
Allows custom matcher and highlighter functions to be provided
Resolves #46
This adds two new props to VueTypeaheadBootstrap and VueTypeaheadBootstrapList for "matcher" and "highlighter". The former just passes them along to the latter for use.
Then in the list component it will use those, if present, and otherwise fallback on the default matching and highlighting that was there before.
All you need to do to use this is create your custom matcher and/or highlighter functions, import those into your vue file that's implementing this component and specify those functions in the properties of the component in your vue template.