Permalink
Browse files

fix(docs): fix table refresh event name (#1692)

  • Loading branch information...
emanuelmutschlechner authored and pi0 committed Apr 16, 2018
1 parent 1712add commit 01e223caaae965234f14205c67505506768e9a3e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/components/table/README.md
@@ -1184,11 +1184,11 @@ trigger the calling of the provider function. So be sure to bind to the `per-pag
### Event based refreshing of data
You may also trigger the refresh of the provider function by emitting the
event `table::refresh` on `$root` with the single argument being the `id` of your `b-table`.
event `refresh::table` on `$root` with the single argument being the `id` of your `b-table`.
You must have a unique ID on your table for this to work.
```js
this.$root.$emit('bv::table::refresh', 'my-table');
this.$root.$emit('bv::refresh::table', 'my-table');
```
Or by calling the refresh method on the table reference

2 comments on commit 01e223c

@Diaskhan

This comment has been minimized.

Diaskhan replied Apr 16, 2018

Now we can deprecate wiki page ?

@pi0

This comment has been minimized.

Member

pi0 replied Apr 16, 2018

Done

Please sign in to comment.