Tagify
Tagify is a jQuery plugin providing a Twitter Bootstrap user interface for managing tags.
Tagify documentationHow to use?
Add the following library Bootstrap-tagsinput stylesheet and script in your page.
Copy-paste the stylesheet <link>
into your <head>
to load the CSS.
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
Copy-paste the following <script>
near the end of your pages under JS Front to enable it.
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
Methods
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-hs-tagify-options='{}'
. For more detailed or missing attributes/functions, see the official Tagify documentation page.
Parameters | Description | Default value |
---|---|---|
|
Selector of the button that will clear the tag field | null |
|
If the value is true , then after adding a new tag its value is remembered, which will be the default value of the next tag |
false |