react-bootstrap-table-ng-overlay 4.19.0 → 4.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -6
- package/dist/react-bootstrap-table-ng-overlay.js +2 -2
- package/dist/react-bootstrap-table-ng-overlay.min.js +2 -2
- package/lib/index.d.ts +1 -4
- package/lib/index.js +14 -13
- package/lib/index.js.map +1 -1
- package/lib/src/loading-overlay-spinner.js +0 -5
- package/lib/src/loading-overlay-spinner.js.map +1 -1
- package/lib/src/loading-overlay.d.ts +5 -5
- package/lib/src/loading-overlay.js +12 -10
- package/lib/src/loading-overlay.js.map +1 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
In `react-bootstrap-table-ng`, you will be easier to custom the loading or lverlay on table no matter if remote enabled or not. In the following, we have two way to do it:
|
|
4
4
|
|
|
5
|
-
**[Live Demo For Table Overlay](https://
|
|
5
|
+
**[Live Demo For Table Overlay](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/?path=/docs/table-overlay--docs)**
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
---
|
|
8
8
|
|
|
9
9
|
## Empty Table
|
|
10
|
-
[**`noDataIndication`**](https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/table-props.html#nodataindication-function) is a simple case you can take it, if current data size is empty, `react-bootstrap-table-ng` will call the `noDataIndication` prop and get the result to display on the table.
|
|
11
10
|
|
|
12
|
-
[
|
|
11
|
+
[**`noDataIndication`**](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/?path=/story/table-overlay--empty-table-overlay) is a simple case you can take it, if current data size is empty, `react-bootstrap-table-ng` will call the `noDataIndication` prop and get the result to display on the table.
|
|
12
|
+
|
|
13
|
+
[**Here**](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/?path=/story/table-overlay--table-overlay) is a quick exmaple for `noDataIndication`.
|
|
13
14
|
|
|
14
15
|
## Loading Table
|
|
15
|
-
In the most of case for remote mode, you need the loading animation to tell the user the table is loading or doing some action in the background. Hence, you can lervarge [**`overlay`**](https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/table-props.html#overlay-function) prop.
|
|
16
16
|
|
|
17
|
-
[
|
|
17
|
+
In the most of case for remote mode, you need the loading animation to tell the user the table is loading or doing some action in the background. Hence, you can lervarge [**`overlay`**](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/table-props.html#overlay-function) prop.
|
|
18
|
+
|
|
19
|
+
[**Here**](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/?path=/story/remote--remote-all-custom) is also a example for `overlay`
|