mirror of https://github.com/ColorlibHQ/AdminLTE
docs(card-refresh): fix examples
parent
a6f47a8e8c
commit
e22e710165
|
@ -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.
|
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
|
```js
|
||||||
('#my-card').CardRefresh(options)
|
('#my-card [data-card-widget="card-refresh"]').CardRefresh(options)
|
||||||
```
|
```
|
||||||
|
|
||||||
##### 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
|
|load | Reloads the content and runs the `onLoadStart` and `onLoadDone` hooks
|
||||||
{: .table .table-bordered .bg-light}
|
{: .table .table-bordered .bg-light}
|
||||||
|
|
||||||
Example: `$('#my-card').CardRefresh('load')`
|
Example: `$('#my-card [data-card-widget="card-refresh"]').CardRefresh('load')`
|
||||||
|
|
Loading…
Reference in New Issue