Skip to content

Commit c58601c

Browse files
authored
Update README.md
1 parent 4ab5bb8 commit c58601c

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

README.md

-84
Original file line numberDiff line numberDiff line change
@@ -104,87 +104,3 @@ $("#array_tag_handler").tagHandler({
104104
```
105105

106106
See https://ioncache.github.io/Tag-Handler/ for more examples
107-
108-
```
109-
------------------------------------------------------------------------------
110-
Plugin Options
111-
------------------------------------------------------------------------------
112-
113-
Tag data specific options:
114-
--------------------------
115-
116-
Option Description Default Value
117-
-------------- ---------------------------------------------- --------------
118-
assignedTags array to pass a list of already assigned tags []
119-
availableTags array to pass a list of all available tags []
120-
getData data field with info for getURL ''
121-
getURL URL for retrieving tag lists via ajax {}
122-
initLoad indicates if all tags should be loaded on init true
123-
updateData data field with additional info for updtateURL {}
124-
updateURL URL for saving tags via ajax ''
125-
126-
Callback options:
127-
-----------------
128-
Option Description Default Value
129-
-------------- ---------------------------------------------- --------------
130-
onAdd function to be called when a new tag is added {}
131-
onDelete function to be called when a tag is deleted {}
132-
afterAdd function to be called after a new tag is added {}
133-
afterDelete function to be called after a tag is deleted {}
134-
135-
Miscellaneous options:
136-
----------------------
137-
138-
Option Description Default Value
139-
-------------- ---------------------------------------------- --------------
140-
allowAdd indicates whether the user can add new tags true
141-
allowEdit indicates whether the tag list is editable true
142-
autocomplete requires jqueryui autocomplete plugin false
143-
autoUpdate indicates whether updating occurs automatically false
144-
whenever a tag is added/deleted - if set true,
145-
the save button will not be shown
146-
className base class name that will be added to the tag 'tagHandler'
147-
container
148-
debug will turn on some console logging debug info false
149-
delimiter extra delimiter to use to separate tags ''
150-
note 'enter' and 'comma' are always allowed
151-
maxTags sets a limit to the number of allowed tags, set 0
152-
to 0 to allow unlimited
153-
minChars minimum number of chars to type before starting 0
154-
autocomplete
155-
msgError message shown when there is an error loading 'There was an
156-
the tags error getting
157-
the tag list.'
158-
msgNoNewTag message shown when the user cannot add a new 'You don't have
159-
tag permission to
160-
create a new
161-
tag.'
162-
queryname query term used to send user typed data 'q'
163-
sortTags sets sorting of tag names alphabetically true
164-
165-
Methods
166-
----------------------
167-
168-
Name Description Usage
169-
----------------- ----------------------- --------------------------------
170-
getTags returns an array of tags .tagHandler("getTags")
171-
getSerializedTags returns comma separated .tagHandler("getSerializedTags")
172-
string of tags
173-
174-
------------------------------------------------------------------------------
175-
License
176-
------------------------------------------------------------------------------
177-
178-
This program is free software: you can redistribute it and/or modify
179-
it under the terms of the Lesser GNU General Public License as published by
180-
the Free Software Foundation, either version 3 of the License, or
181-
(at your option) any later version.
182-
183-
This program is distributed in the hope that it will be useful,
184-
but WITHOUT ANY WARRANTY; without even the implied warranty of
185-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
186-
Lesser GNU General Public License for more details.
187-
188-
You should have received a copy of the Lesser GNU General Public License
189-
along with this program. If not, see < http://www.gnu.org/licenses/ >.
190-
```

0 commit comments

Comments
 (0)