docs(card-refresh): fix examples

This commit is contained in:
REJack 2021-11-24 22:57:29 +01:00
parent a6f47a8e8c
commit e22e710165

View file

@ -21,7 +21,7 @@ Activate the plugin by adding a button with `data-card-widget="card-refresh"` to
The jQuery API provides more customizable options that allows the developer to pre-process the request before rendering and post-process it after rendering.
```js
('#my-card').CardRefresh(options)
('#my-card [data-card-widget="card-refresh"]').CardRefresh(options)
```
##### Options
@ -69,4 +69,4 @@ Example: `$('#my-card [data-card-widget="card-refresh"]').on('loaded.lte.cardref
|load | Reloads the content and runs the `onLoadStart` and `onLoadDone` hooks
{: .table .table-bordered .bg-light}
Example: `$('#my-card').CardRefresh('load')`
Example: `$('#my-card [data-card-widget="card-refresh"]').CardRefresh('load')`