Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 591dea0

Browse files
feat(BPopover): expose hide, show and toggle methods
1 parent 72c58fd commit 591dea0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/bootstrap-vue-next/src/components/BPopover.vue

+6
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,12 @@ const hideFn = (e: Event) => {
432432
}, delay)
433433
}
434434
435+
defineExpose({
436+
hideFn,
437+
show,
438+
toggle,
439+
})
440+
435441
const bind = () => {
436442
// TODO: is this the best way to bind the events?
437443
// we place a span and get the next element sibling fo rthe listeners

0 commit comments

Comments
 (0)