Skip to content

Commit a058a9a

Browse files
phil-wmosinve
authored andcommitted
If you're closing the popover, the action is "hide" not "show". Change from show to hide. (bootstrap-vue#1914)
1 parent 95a5012 commit a058a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/popover/README.md

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

705705
```js
706-
this.$root.$emit('bv::show::popover', 'my-trigger-button-id');
706+
this.$root.$emit('bv::hide::popover', 'my-trigger-button-id');
707707
```
708708

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

0 commit comments

Comments
 (0)