Activate the plugin by adding a button with `data-card-widget="card-refresh"` to the card and provide the required `data-source="/URL-TO-CONTENT"` option. By doing that, the plugin will automatically create a GET request to the provided URL and render the returned response the `.card-body` section of the card. If you need to process the returned response before rendering, you should use the jQuery API, which provides hooks to deal with the response.
The jQuery API provides more customizable options that allows the developer to pre-process the request before rendering and post-process it after rendering.
| onLoadStart | Function|Anonymous Function | Called before the ajax request is made
| onLoadDone | Function|Anonymous Function | Called after the ajax request is made. A `response` parameter is passed to the function that hold the server response.
| onLoadFail | Function|Anonymous Function | Called if the ajax request fails. `jqXHR`, `textStatus` and `errorThrown` parameters are passed to the function.