brunocechet/Fuse.js-with-highlight

From where it comes resultItem.matches

Closed this issue · 2 comments

resultItem.matches is undefined ?

I have the same question... How to get this .matches field....

Hey @dssoft32 and @AlexanderSutul ,
This small script is very old, but answering your question:

At that time we're on Fuse v3.3, here is where .matches comes:

https://github.com/krisk/Fuse/blob/v3.3.0/src/index.js#L348