Browse Source

removed unnecessary info in card-refresh.md

pull/2256/head
REJack 5 years ago
parent
commit
ffc0c92678
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
  1. 17
      docs/javascript/card-refresh.md

17
docs/javascript/card-refresh.md

@ -29,23 +29,6 @@ The jQuery API provides more customizable options that allows the developer to p
|---
| Name | Type | Default | Description
|-|-|-|-
source: '',
sourceSelector: '',
params: {},
trigger: Selector.DATA_REFRESH,
content: '.card-body',
loadInContent: true,
loadOnInit: true,
responseType: '',
overlayTemplate: '<div class="overlay"><i class="fas fa-2x fa-sync-alt fa-spin"></i></div>',
onLoadStart: function () {
},
onLoadDone: function (response) {
return response;
}
| source | String | '' | The URL to the source.
| sourceSelector | String | '' | A selector to get return only the content of the selector.
| params | Object | {} | GET query paramaters (example: {search_term: 'layout'}, which renders to URL/?search_term=layout)

Loading…
Cancel
Save