mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
fix(combo-box): fix types for on:clear
(#2020)
This commit is contained in:
parent
49b5def815
commit
0831e87135
5 changed files with 11 additions and 3 deletions
|
@ -23,6 +23,9 @@
|
|||
on:select="{(e) => {
|
||||
console.log(e.detail.selectedId);
|
||||
}}"
|
||||
on:clear="{(e) => {
|
||||
console.log(e.detail);
|
||||
}}"
|
||||
translateWithId="{(id) => {
|
||||
console.log(id); // "open" | "close"
|
||||
return id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue