How to use

Copy-paste the stylesheet <link> into your <head> to load the CSS.

              
                <link rel="stylesheet" href="../assets/vendor/@yaireo/tagify/dist/tagify.css">
              
            

Copy-paste the following <script> near the end of your pages under JS Implementing Plugins to enable it.

              
                <script src="../assets/vendor/@yaireo/tagify/dist/tagify.min.js"></script>
              
            

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.

              
                <script>
                  $(document).on('ready', function () {
                    // initialization of tagify
                    $('.js-tagify').each(function () {
                      var tagify = $.HSCore.components.HSTagify.init($(this));
                    });
                  });
                </script>
              
            

Basic example

Blacklist

Use "blacklist": ["apple", "ananas", ...] prop.

Remove Button

Use "clearBtnSelector": "#removeTagsBtn" prop.

Mix

Start typing 'a' with @ or #. For sample @apple

List manually

Custom template

Methods

Parameters Description Default value
clearBtnSelector Clear all tags. null
hasManualList Add menu with tags. false