kui-utils 0.0.7 → 0.0.8
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/cjs/index.js +4 -0
- package/cjs/index.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -2118,6 +2118,10 @@ var Paginator = /** @class */ (function () {
|
|
|
2118
2118
|
this.stopFetching = function () {
|
|
2119
2119
|
_this.isFetching = false;
|
|
2120
2120
|
};
|
|
2121
|
+
this.refresh = function () {
|
|
2122
|
+
_this.clearOffset();
|
|
2123
|
+
_this.startFetching();
|
|
2124
|
+
};
|
|
2121
2125
|
this.limit = limit;
|
|
2122
2126
|
this.offset = 0;
|
|
2123
2127
|
this.isFinishPage = false;
|