Skip to content

Commit

Permalink
feat(Tooltip): expose onClose to allow closing programatically
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi authored and kelsos committed Aug 5, 2024
1 parent 960bf0c commit 8aec5f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/overlays/tooltip/RuiTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ const {
onPopperLeave,
updatePopper,
} = usePopper(popper, disabled, openDelay, closeDelay);
defineExpose({
onOpen,
onClose,
});
</script>

<template>
Expand Down

0 comments on commit 8aec5f6

Please sign in to comment.