igniteui-react-grids
Version:
Ignite UI React grid components.
75 lines (74 loc) • 2.67 kB
JavaScript
import { IgrColumnMovingStartEventArgsDetail } from "./igr-column-moving-start-event-args-detail";
import { ColumnMovingStartEventArgs as ColumnMovingStartEventArgs_internal } from "./ColumnMovingStartEventArgs";
/**
* Represents event arguments related to the start of a column moving operation in a grid.
*/
var IgrColumnMovingStartEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrColumnMovingStartEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrColumnMovingStartEventArgs.prototype.createImplementation = function () {
return new ColumnMovingStartEventArgs_internal();
};
Object.defineProperty(IgrColumnMovingStartEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrColumnMovingStartEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrColumnMovingStartEventArgs.prototype.onImplementationCreated = function () {
};
IgrColumnMovingStartEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrColumnMovingStartEventArgs.prototype, "detail", {
get: function () {
var r = this.i.b;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgrColumnMovingStartEventArgsDetail();
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 IgrColumnMovingStartEventArgs;
}());
export { IgrColumnMovingStartEventArgs };