Skip to content

Commit 8b9db28

Browse files
frankjdelgadomosinve
authored andcommitted
fix(popover): fixes close emit argument (bootstrap-vue#1937)
emit `bv::hide::popover` instead of `bv::hide::popover` to close a specific popover
1 parent 4375474 commit 8b9db28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/popover/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ this.$root.$emit('bv::hide::popover');
388388
To close a **specific popover**, pass the trigger element's `id` as the first argument:
389389

390390
```js
391-
this.$root.$emit('bv::show::popover', 'my-trigger-button-id');
391+
this.$root.$emit('bv::hide::popover', 'my-trigger-button-id');
392392
```
393393

394394
To open (show) a **specific popover**, pass the trigger element's `id` as the first argument when

0 commit comments

Comments
 (0)