Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
okcoker committed Aug 2, 2016
1 parent 77086d1 commit ca62034
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ <h4>Options</h4>
Tags that the user will be restricted to.
</p>
</div>
<div class="option">
<p>
inputFormatter(inputElement)
</p>
<p>
Function hook called with the to-be-added input DOM element.
</p>
</div>
<div class="option">
<p>
tagFormatter(element)
Expand All @@ -348,10 +356,10 @@ <h4>Options</h4>
</div>
<div class="option">
<p>
onBeforeTagRemove(event, tag)
onBeforeTagRemove(event, tag [, callback])
</p>
<p>
Hook fired before a tag is removed. Provides the event and tag text. Return false to prevent the tag from being removed.
Hook fired before a tag is removed. Provides the event and tag text. Return a falsy value to prevent the tag from being removed. The callback argument can be called to remove the tag.
</p>
</div>
<div class="option">
Expand Down

0 comments on commit ca62034

Please sign in to comment.