Skip to content

Commit

Permalink
added createTag() method to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabuchodonozor committed Apr 2, 2011
1 parent 88d1771 commit 1c73ae4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.markdown
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand All @@ -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)

0 comments on commit 1c73ae4

Please sign in to comment.