From ca620348bfe9b87c943200f453af2afcb9bfedee Mon Sep 17 00:00:00 2001 From: Sean Coker Date: Tue, 2 Aug 2016 18:56:05 -0400 Subject: [PATCH] Update docs --- example/index.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/example/index.html b/example/index.html index 09058c5..cdc32f5 100644 --- a/example/index.html +++ b/example/index.html @@ -330,6 +330,14 @@

Options

Tags that the user will be restricted to.

+
+

+ inputFormatter(inputElement) +

+

+ Function hook called with the to-be-added input DOM element. +

+

tagFormatter(element) @@ -348,10 +356,10 @@

Options

- onBeforeTagRemove(event, tag) + onBeforeTagRemove(event, tag [, callback])

- 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.