Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added createTag() method to readme

  • Loading branch information...
commit 1c73ae45f2222841fb17d5999eafd2f784f78081 1 parent 88d1771
@Nabuchodonozor Nabuchodonozor authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 README.markdown
View
8 README.markdown
@@ -121,7 +121,7 @@ The function receives the tag as parameter.
// do something special
}
});
-
+
### tagSource (function)
Can be overwritten in order to use custom autocompletion sources like Ajax requests.
@@ -178,6 +178,11 @@ Clears the widget of all tags -- removes each tag it contains, so the onTagRemov
$("#mytags").tagit('removeAll');
+### createTag(tagName)
+Adds new tag to the list.
+
+ $("#mytags").tagit('createTag','brandNewTag');
+
## Authors
@@ -186,4 +191,3 @@ Clears the widget of all tags -- removes each tag it contains, so the onTagRemov
* [Tobias Schmidt](http://github.com/grobie)
* [Skylar Challand](http://github.com/sskylar)
* [Alex Ehlke](http://github.com/aehlke)
-
Please sign in to comment.
Something went wrong with that request. Please try again.