UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

67 lines (66 loc) 2.3 kB
import { SortingExpressionEventArgs as SortingExpressionEventArgs_internal } from "./SortingExpressionEventArgs"; var IgrSortingExpressionEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrSortingExpressionEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrSortingExpressionEventArgs.prototype.createImplementation = function () { return new SortingExpressionEventArgs_internal(); }; Object.defineProperty(IgrSortingExpressionEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrSortingExpressionEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrSortingExpressionEventArgs.prototype.onImplementationCreated = function () { }; IgrSortingExpressionEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrSortingExpressionEventArgs.prototype, "detail", { get: function () { if (!this.i.a) { return undefined; } var ret = []; for (var i = 0; i < this.i.a.length; i++) { var impl = this.i.a[i]; ret.push(impl.nativeElement); } return ret; }, set: function (v) { var arr = []; for (var i = 0; i < v.length; i++) { arr.push(v[i]); } this.i.a = arr; }, enumerable: false, configurable: true }); return IgrSortingExpressionEventArgs; }()); export { IgrSortingExpressionEventArgs };