vscroll
Version:
Virtual scroll engine
21 lines • 525 B
JavaScript
var RenderModel = /** @class */ (function () {
function RenderModel() {
this.reset();
}
Object.defineProperty(RenderModel.prototype, "noSize", {
get: function () {
return this.sizeBefore === this.sizeAfter;
},
enumerable: false,
configurable: true
});
RenderModel.prototype.reset = function () {
this.sizeBefore = 0;
this.sizeAfter = 0;
this.positionBefore = 0;
this.cancel = null;
};
return RenderModel;
}());
export { RenderModel };
//# sourceMappingURL=render.js.map