igniteui-react-grids
Version:
Ignite UI React grid components.
77 lines (76 loc) • 2.82 kB
JavaScript
import { IgrGridFormGroupCreatedEventArgsDetail } from "./igr-grid-form-group-created-event-args-detail";
import { GridFormGroupCreatedEventArgs as GridFormGroupCreatedEventArgs_internal } from "./GridFormGroupCreatedEventArgs";
/**
* Interface representing the event arguments when a form group is created in the grid.
* - formGroup: The form group that is created.
* - owner: The grid instance that owns the form group.
*/
var IgrGridFormGroupCreatedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrGridFormGroupCreatedEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrGridFormGroupCreatedEventArgs.prototype.createImplementation = function () {
return new GridFormGroupCreatedEventArgs_internal();
};
Object.defineProperty(IgrGridFormGroupCreatedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrGridFormGroupCreatedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrGridFormGroupCreatedEventArgs.prototype.onImplementationCreated = function () {
};
IgrGridFormGroupCreatedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrGridFormGroupCreatedEventArgs.prototype, "detail", {
get: function () {
var r = this.i.b;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgrGridFormGroupCreatedEventArgsDetail();
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 IgrGridFormGroupCreatedEventArgs;
}());
export { IgrGridFormGroupCreatedEventArgs };