0.0.6 • Published 9 years ago
tagtagger.js v0.0.6
TagTagger.js
============================================================================ TagTagger.js v0.0.6 jQuery plugin to create and manage tags Requires - taggerStyles.css and jquery.js
Usage: ( As Simple As It Can Be )
✦ Well Of course you need to import its styling file: "taggerStyles.css" ✦ Default mode: $('elementOrSelector').TagTagger(); ✦ Passing Options by overriding Default settings (change as required): ✦ Sample Usage detail of v0.0.6 feature list:
$('#Element').TagTagger({
'tagPool' : {
'onlyAvailable' : true,
'tags' : ['java', 'c', 'javascript', 'html', 'css']
},
'events' : {
'onCreated':function(data){ alert('created tag: "'+data+'"'); },
'onRemoved':function(data){ alert('removed tag: "'+data+'"'); },
'onDuplicate':function(data){ alert('duplicate tag: "'+data+'"'); },
'onNotInPool':function(data){ alert('tag: "'+data+'" not in pool'); }
}
});
✦ Complete Default mode:
'bgColor' : '#e3e18a'
},
'tagPool' : {
'onlyAvailable' : false,
'tags' : []
},
'events' : {
'onCreated':function(data){},
'onRemoved':function(data){},
'onDuplicate':function(data){},
'onNotInPool':function(data){}
}
0.0.6
9 years ago