mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(types): strongly type translateWithId
parameters
This commit is contained in:
parent
ff2e6276db
commit
c0d398ffe9
8 changed files with 112 additions and 92 deletions
|
@ -21,12 +21,14 @@
|
|||
e.detail; // number | FocusEvent
|
||||
}}"
|
||||
translateWithId="{(id) => {
|
||||
console.log(id); // "open" | "close"
|
||||
return id;
|
||||
}}"
|
||||
translateWithIdMenu="{(id) => {
|
||||
return id;
|
||||
}}"
|
||||
translateWithIdInput="{(id) => {
|
||||
console.log(id); // "clearAll" | "clearSelection"
|
||||
return id;
|
||||
}}"
|
||||
let:item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue