Remeic / vue-highlighter

🏷 Vue directive for highlight multiple istances of a word
MIT License
39 stars 13 forks source link

[Feature/multiple words] Possibility to pass a list of words to search in a text #15

Closed alessandrome closed 5 years ago

alessandrome commented 5 years ago

I've added some code to permit the text research based on a list of strings. I've tried to add tests and documentation about it

codecov[bot] commented 5 years ago

Codecov Report

Merging #15 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   98.55%   98.57%   +0.02%     
==========================================
  Files           2        2              
  Lines          69       70       +1     
==========================================
+ Hits           68       69       +1     
  Misses          1        1
Impacted Files Coverage Δ
src/highlighter.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fb5fde2...6c1e690. Read the comment docs.