Skip to content

Commit 5cfce8e

Browse files
authored
Merge pull request #57 from LeopoldBriand/token-separator
feat/tokenSeparator property added
2 parents 32ef9c1 + fb86f61 commit 5cfce8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/VueFuse.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ export default {
5252
type: Boolean,
5353
default: false
5454
},
55+
tokenSeparator: {
56+
type: RegExp,
57+
default: RegExp(" ")
58+
},
5559
matchAllTokens: {
5660
type: Boolean,
5761
default: false
@@ -99,6 +103,7 @@ export default {
99103
includeScore: this.includeScore,
100104
includeMatches: this.includeMatches,
101105
tokenize: this.tokenize,
106+
tokenSeparator: this.tokenSeparator,
102107
matchAllTokens: this.matchAllTokens,
103108
findAllMatches: this.findAllMatches,
104109
shouldSort: this.shouldSort,

0 commit comments

Comments
 (0)