igniteui-react-grids
Version:
Ignite UI React grid components.
72 lines (71 loc) • 2.48 kB
JavaScript
import { IgrGridStateInfoDetail } from "./igr-grid-state-info-detail";
import { GridStateInfoEventArgs as GridStateInfoEventArgs_internal } from "./GridStateInfoEventArgs";
var IgrGridStateInfoEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrGridStateInfoEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrGridStateInfoEventArgs.prototype.createImplementation = function () {
return new GridStateInfoEventArgs_internal();
};
Object.defineProperty(IgrGridStateInfoEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrGridStateInfoEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrGridStateInfoEventArgs.prototype.onImplementationCreated = function () {
};
IgrGridStateInfoEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrGridStateInfoEventArgs.prototype, "detail", {
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgrGridStateInfoDetail();
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.a = null : this.i.a = v.i;
},
enumerable: false,
configurable: true
});
return IgrGridStateInfoEventArgs;
}());
export { IgrGridStateInfoEventArgs };