mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-02 14:02:46 +02:00
Update README.md
This commit is contained in:
parent
e5a3b0e308
commit
2514cbcd51
|
@ -560,6 +560,7 @@ element.addEventListener('addItem', function(event) {
|
|||
console.log(event.detail.id);
|
||||
console.log(event.detail.value);
|
||||
console.log(event.detail.label);
|
||||
console.log(event.detail.customProperties);
|
||||
console.log(event.detail.groupValue);
|
||||
}, false);
|
||||
|
||||
|
@ -571,6 +572,7 @@ example.passedElement.addEventListener('addItem', function(event) {
|
|||
console.log(event.detail.id);
|
||||
console.log(event.detail.value);
|
||||
console.log(event.detail.label);
|
||||
console.log(event.detail.customProperties);
|
||||
console.log(event.detail.groupValue);
|
||||
}, false);
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue