Skip to content

Commit

Permalink
fix(popover): fixes close emit argument (bootstrap-vue#1937)
Browse files Browse the repository at this point in the history
emit `bv::hide::popover` instead of `bv::hide::popover` to close a specific popover
  • Loading branch information
frankjdelgado authored and mosinve committed Jul 13, 2018
1 parent 4375474 commit 8b9db28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/popover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ this.$root.$emit('bv::hide::popover');
To close a **specific popover**, pass the trigger element's `id` as the first argument:

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

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

0 comments on commit 8b9db28

Please sign in to comment.