mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(overflow-menu): type dispatched close event
This commit is contained in:
parent
ed8977beea
commit
4967d49b03
5 changed files with 25 additions and 13 deletions
|
@ -3,7 +3,11 @@
|
|||
import Add16 from "carbon-icons-svelte/lib/Add16";
|
||||
</script>
|
||||
|
||||
<OverflowMenu>
|
||||
<OverflowMenu
|
||||
on:close="{(e) => {
|
||||
console.log(e.detail); // { index: number; text: string; }
|
||||
}}"
|
||||
>
|
||||
<OverflowMenuItem text="Manage credentials" />
|
||||
<OverflowMenuItem
|
||||
href="https://cloud.ibm.com/docs/api-gateway/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue