tag-it icon indicating copy to clipboard operation
tag-it copied to clipboard

Callback not working (Version 2.0)

Open JasminDreasond opened this issue 5 years ago • 0 comments

$("#searchuser").tagit({
                    allowDuplicates: false,
                    tagLimit: 1,
                    availableTags: memberlist.users,
                    afterTagAdded: function (event, ui) {

                        // do something special
                        console.log(ui.tag);

                        console.log('Nyah 2');

                    }
                }).on("afterTagAdded", function (event, ui) {

                        // do something special
                        console.log(ui.tag);

                        console.log('Nyah');

                    });

I tried the classic example and the on. Nothing :c

JasminDreasond avatar Jul 13 '19 14:07 JasminDreasond