mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Draft commit for review for Popover v11 #1896
This commit is contained in:
parent
559701ec86
commit
79d941bdff
5 changed files with 165 additions and 107 deletions
|
@ -5,16 +5,15 @@
|
|||
</script>
|
||||
|
||||
<Popover
|
||||
bind:open
|
||||
bind:open="{open}"
|
||||
closeOnOutsideClick
|
||||
align="right"
|
||||
caret
|
||||
relative
|
||||
light
|
||||
highContrast
|
||||
on:click:outside="{() => {
|
||||
console.log('on:click:outside');
|
||||
}}"
|
||||
>
|
||||
<PopoverContent style="padding: var(--bx-spacing-05)">Content</PopoverContent>
|
||||
<PopoverContent>Content</PopoverContent>
|
||||
</Popover>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue