Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 625 Bytes

TOOLTIP.md

File metadata and controls

23 lines (17 loc) · 625 Bytes

Tooltip

import { Tooltip } from "@mpiorowski/svelte-init";

Usage

<Tooltip tooltip={'tooltip text'} position={'top'} move={0.2}>
  <div>Hoverable element with tooltip</div>
</Tooltip>
Prop Values Default
tooltip string
position top, right, left, bottom top
move number 0

move prop is for small adjustments to tooltip position.