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/index.d.ts CHANGED
@@ -96,6 +96,7 @@ declare class Paginator {
96
96
  clearOffset: () => void;
97
97
  startFetching: () => void;
98
98
  stopFetching: () => void;
99
+ refresh: () => void;
99
100
  }
100
101
 
101
102
  declare class SortingFilter {
package/index.js CHANGED
@@ -2092,6 +2092,10 @@ var Paginator = /** @class */ (function () {
2092
2092
  this.stopFetching = function () {
2093
2093
  _this.isFetching = false;
2094
2094
  };
2095
+ this.refresh = function () {
2096
+ _this.clearOffset();
2097
+ _this.startFetching();
2098
+ };
2095
2099
  this.limit = limit;
2096
2100
  this.offset = 0;
2097
2101
  this.isFinishPage = false;