Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ioncache authored Mar 12, 2022
1 parent 4ab5bb8 commit c58601c
Showing 1 changed file with 0 additions and 84 deletions.
84 changes: 0 additions & 84 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,87 +104,3 @@ $("#array_tag_handler").tagHandler({
```

See https://ioncache.github.io/Tag-Handler/ for more examples

```
------------------------------------------------------------------------------
Plugin Options
------------------------------------------------------------------------------
Tag data specific options:
--------------------------
Option Description Default Value
-------------- ---------------------------------------------- --------------
assignedTags array to pass a list of already assigned tags []
availableTags array to pass a list of all available tags []
getData data field with info for getURL ''
getURL URL for retrieving tag lists via ajax {}
initLoad indicates if all tags should be loaded on init true
updateData data field with additional info for updtateURL {}
updateURL URL for saving tags via ajax ''
Callback options:
-----------------
Option Description Default Value
-------------- ---------------------------------------------- --------------
onAdd function to be called when a new tag is added {}
onDelete function to be called when a tag is deleted {}
afterAdd function to be called after a new tag is added {}
afterDelete function to be called after a tag is deleted {}
Miscellaneous options:
----------------------
Option Description Default Value
-------------- ---------------------------------------------- --------------
allowAdd indicates whether the user can add new tags true
allowEdit indicates whether the tag list is editable true
autocomplete requires jqueryui autocomplete plugin false
autoUpdate indicates whether updating occurs automatically false
whenever a tag is added/deleted - if set true,
the save button will not be shown
className base class name that will be added to the tag 'tagHandler'
container
debug will turn on some console logging debug info false
delimiter extra delimiter to use to separate tags ''
note 'enter' and 'comma' are always allowed
maxTags sets a limit to the number of allowed tags, set 0
to 0 to allow unlimited
minChars minimum number of chars to type before starting 0
autocomplete
msgError message shown when there is an error loading 'There was an
the tags error getting
the tag list.'
msgNoNewTag message shown when the user cannot add a new 'You don't have
tag permission to
create a new
tag.'
queryname query term used to send user typed data 'q'
sortTags sets sorting of tag names alphabetically true
Methods
----------------------
Name Description Usage
----------------- ----------------------- --------------------------------
getTags returns an array of tags .tagHandler("getTags")
getSerializedTags returns comma separated .tagHandler("getSerializedTags")
string of tags
------------------------------------------------------------------------------
License
------------------------------------------------------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Lesser GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License
along with this program. If not, see < http://www.gnu.org/licenses/ >.
```

0 comments on commit c58601c

Please sign in to comment.