enh: channel suggestions

This commit is contained in:
Timothy Jaeryang Baek
2025-09-16 21:41:47 -05:00
parent 99bba12de2
commit bbd1d2b58c
14 changed files with 341 additions and 40 deletions
+4 -1
View File
@@ -19,6 +19,8 @@
export let tippyOptions = {};
export let interactive = false;
export let onClick = () => {};
let tooltipElement;
let tooltipInstance;
@@ -61,7 +63,8 @@
});
</script>
<svelte:element this={as} bind:this={tooltipElement} class={className}>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<svelte:element this={as} bind:this={tooltipElement} class={className} on:click={onClick}>
<slot />
</svelte:element>