UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

75 lines (74 loc) 2.57 kB
import { IgrColumnMovingEventArgsDetail } from "./igr-column-moving-event-args-detail"; import { ColumnMovingEventArgs as ColumnMovingEventArgs_internal } from "./ColumnMovingEventArgs"; /** * Represents event arguments related to a column moving operation in a grid */ var IgrColumnMovingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrColumnMovingEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrColumnMovingEventArgs.prototype.createImplementation = function () { return new ColumnMovingEventArgs_internal(); }; Object.defineProperty(IgrColumnMovingEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrColumnMovingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrColumnMovingEventArgs.prototype.onImplementationCreated = function () { }; IgrColumnMovingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrColumnMovingEventArgs.prototype, "detail", { get: function () { var r = this.i.b; if (r == null) { return null; } if (!r.externalObject) { var e = new IgrColumnMovingEventArgsDetail(); if (r.$type) { e._implementation = r; } else { if (e.i.setNativeElement) { e.i.setNativeElement(r); } } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.b = null : this.i.b = v.i; }, enumerable: false, configurable: true }); return IgrColumnMovingEventArgs; }()); export { IgrColumnMovingEventArgs };