tooltipAction

An action to display simple tooltips.

Demo

Usage

<script>
import { tooltipAction } from "svelte-legos";
</script>

<div use:tooltipAction={"Tooltip Content"}>
  Default Options
</div>

<div use:tooltipAction={{ content: "Tooltip Content", placement: "center" }}>
  With Options
</div>