mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 13:06:34 +02:00
Add highlight callback examples to demo
This commit is contained in:
parent
02d9ac1312
commit
74a49cf5dd
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue