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

Commit da99fa1

Browse files
committed
feat(BOffcanvas): expose hide and show to programmatically control BOffcanvas.
1 parent 8c82d06 commit da99fa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,9 @@ const OnAfterLeave = () => {
278278
useEventListener(element, 'bv-toggle', () => {
279279
modelValueBoolean.value ? hide() : show()
280280
})
281+
282+
defineExpose({
283+
hide,
284+
show,
285+
})
281286
</script>

0 commit comments

Comments
 (0)