igniteui-react-grids
Version:
Ignite UI React grid components.
78 lines (77 loc) • 2.92 kB
JavaScript
import { GridFormGroupCreatedEventArgsDetail as GridFormGroupCreatedEventArgsDetail_internal } from "./GridFormGroupCreatedEventArgsDetail";
/**
* 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 IgrGridFormGroupCreatedEventArgsDetail = /** @class */ /*@__PURE__*/ (function () {
function IgrGridFormGroupCreatedEventArgsDetail() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrGridFormGroupCreatedEventArgsDetail.prototype.createImplementation = function () {
return new GridFormGroupCreatedEventArgsDetail_internal();
};
Object.defineProperty(IgrGridFormGroupCreatedEventArgsDetail.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrGridFormGroupCreatedEventArgsDetail.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrGridFormGroupCreatedEventArgsDetail.prototype.onImplementationCreated = function () {
};
IgrGridFormGroupCreatedEventArgsDetail.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrGridFormGroupCreatedEventArgsDetail.prototype, "owner", {
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.a = null : this.i.a = v.i;
},
enumerable: false,
configurable: true
});
IgrGridFormGroupCreatedEventArgsDetail.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
if (this.owner && this.owner.name && this.owner.name == name) {
return this.owner;
}
return null;
};
IgrGridFormGroupCreatedEventArgsDetail.prototype.setNativeElement = function (element) {
this.i.setNativeElement(element);
};
return IgrGridFormGroupCreatedEventArgsDetail;
}());
export { IgrGridFormGroupCreatedEventArgsDetail };