Skip to content

Commit

Permalink
Merge pull request #57 from LeopoldBriand/token-separator
Browse files Browse the repository at this point in the history
feat/tokenSeparator property added
  • Loading branch information
shayneo authored Dec 9, 2019
2 parents 32ef9c1 + fb86f61 commit 5cfce8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/VueFuse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export default {
type: Boolean,
default: false
},
tokenSeparator: {
type: RegExp,
default: RegExp(" ")
},
matchAllTokens: {
type: Boolean,
default: false
Expand Down Expand Up @@ -99,6 +103,7 @@ export default {
includeScore: this.includeScore,
includeMatches: this.includeMatches,
tokenize: this.tokenize,
tokenSeparator: this.tokenSeparator,
matchAllTokens: this.matchAllTokens,
findAllMatches: this.findAllMatches,
shouldSort: this.shouldSort,
Expand Down

0 comments on commit 5cfce8e

Please sign in to comment.