mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
feat(tooltip-definition): export open prop, dispatch open/close events (#1057)
This commit is contained in:
parent
8b39ccae89
commit
20e61724c1
5 changed files with 55 additions and 16 deletions
|
@ -1,8 +1,13 @@
|
|||
<script lang="ts">
|
||||
import { TooltipDefinition } from "../types";
|
||||
|
||||
let open = false;
|
||||
</script>
|
||||
|
||||
<TooltipDefinition
|
||||
bind:open
|
||||
on:open
|
||||
on:close
|
||||
tooltipText="IBM Corporate Headquarters is based in Armonk, New York."
|
||||
>
|
||||
Armonk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue