Skip to content
This repository was archived by the owner on Apr 7, 2020. It is now read-only.

Commit 9012c91

Browse files
committed
Update README.md
1 parent 666c535 commit 9012c91

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ mention.findChoices = _.throttle(function(match) {
117117
}, 300);
118118
```
119119

120+
Minimum characters to trigger:
121+
```js
122+
mention.findChoices = function(match) {
123+
if (match[1].length > 2)
124+
return [/* choices */];
125+
};
126+
```
127+
120128
Hate redundancy? De-dupe that shiznizzle:
121129
```js
122130
mention.findChoices = function(match, mentions) {

0 commit comments

Comments
 (0)