Add highlight callback examples to demo

This commit is contained in:
Josh Johnson 2016-08-04 14:54:22 +01:00
parent 02d9ac1312
commit 74a49cf5dd

View file

@ -164,6 +164,12 @@
editItems: true,
maxItemCount: 5,
removeItemButton: true,
callbackOnHighlightItem: function(id, value, passedInput) {
console.log(value);
},
callbackOnUnhighlightItem: function(id, value, passedInput) {
console.log(value);
},
});
console.log(example1.getValue());