add onHidden doc

This commit is contained in:
Georges KABBOUCHI
2023-02-23 16:16:52 +02:00
parent 1b68e1d937
commit a1f20be60a
+10
View File
@@ -459,7 +459,17 @@ useTippy(target, {
},
})
```
## onHidden
Invoked once the tippy has been fully hidden and unmounted from the DOM.
```js
useTippy(target, {
onHidden(instance) {
// ...
},
})
```
## onHide
Invoked once the tippy begins to hide.