10 lines
211 B
Svelte
10 lines
211 B
Svelte
<script>
|
|
import { Tooltip } from 'sveltestrap';
|
|
const uuid=Math.random().toString(36).replace('0.','tip');
|
|
</script>
|
|
<slot name="thing" id="{uuid}"/>
|
|
<Tooltip target={uuid}>
|
|
<slot name="tip"/>
|
|
</Tooltip>
|
|
|