From 12de2b8ffaf3da674a4741691d7f2e9f634ff8c5 Mon Sep 17 00:00:00 2001 From: untemps Date: Sat, 5 Feb 2022 19:59:58 +0100 Subject: [PATCH 1/2] feat: Allow to set a template element as tooltip content, #29 The `contentClone` prop has been removed since it is not needed anymore --- README.md | 15 +- dev/src/App.svelte | 74 +++--- jest/jest.setup.js | 64 ++++- src/Tooltip.js | 64 ++--- src/__tests__/useTooltip.test.js | 403 ++++++++++++------------------- src/useTooltip.js | 4 - 6 files changed, 278 insertions(+), 346 deletions(-) diff --git a/README.md b/README.md index 70fe970..9c6f1c0 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ yarn add @untemps/svelte-use-tooltip
Hover me
+

Settings

-
- -