mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 12:49:20 +00:00
test(tooltip): assert open prop, open/close events
This commit is contained in:
parent
63d77e3521
commit
bac846fb3c
1 changed files with 3 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Tooltip, Link, Button } from "../types";
|
import { Tooltip, Link, Button } from "../types";
|
||||||
import Catalog16 from "carbon-icons-svelte/lib/Catalog16";
|
import Catalog16 from "carbon-icons-svelte/lib/Catalog16";
|
||||||
|
|
||||||
|
let open = true;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Tooltip>
|
<Tooltip bind:open on:open on:close>
|
||||||
<p>Resources are provisioned based on your account's organization.</p>
|
<p>Resources are provisioned based on your account's organization.</p>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue