Skip to content

Conversation

@theteknocat
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzzy matching?

1 participant