UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

52 lines (51 loc) 1.85 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { __extends } from "tslib"; import { Base, markType } from "igniteui-react-core"; import { WCNativeHelper } from "igniteui-react"; /** * @hidden */ var ScrollStrategy = /** @class */ /*@__PURE__*/ (function (_super) { __extends(ScrollStrategy, _super); function ScrollStrategy() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.a = new WCNativeHelper(); _this.c = null; return _this; } Object.defineProperty(ScrollStrategy.prototype, "b", { get: function () { return this.a; }, enumerable: false, configurable: true }); Object.defineProperty(ScrollStrategy.prototype, "nativeElement", { get: function () { return this.c; }, set: function (a) { this.c = a; this.a.o = this.c; }, enumerable: false, configurable: true }); ScrollStrategy.prototype.setNativeElement = function (a) { this.nativeElement = a; }; ScrollStrategy.prototype.e = function () { this.nativeElement.attach(); }; ScrollStrategy.prototype.f = function () { this.nativeElement.detach(); }; ScrollStrategy.$t = markType(ScrollStrategy, 'ScrollStrategy'); return ScrollStrategy; }(Base)); export { ScrollStrategy };