Skip to content

Commit

Permalink
Added docs for suffix option
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirabyan committed Feb 17, 2016
1 parent 47e2c1a commit 5c3aee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ For example:

Source data is an array of objects with `uid` and `value` properties: `[{uid: '123', value: 'Alex'}, ...]`. If you want to display an icon in dropdown list, you can add an `image` property to objects in the array.

### suffix
String to add to selected mention when it is inserted in text. Can be usefull if you wish to automatically insert a space after mention. For that case: `$textarea.mentionsInput({suffix: ' '})`

#### trigger
Char which trigger autocomplete, default value is '@'

Expand Down

0 comments on commit 5c3aee8

Please sign in to comment.