UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

64 lines (63 loc) 1.88 kB
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. */ export class IgrGridFormGroupCreatedEventArgsDetail { createImplementation() { return new GridFormGroupCreatedEventArgsDetail_internal(); } get nativeElement() { return this._implementation.nativeElement; } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } get owner() { const r = this.i.a; if (r == null) { return null; } return r.externalObject; } set owner(v) { v == null ? this.i.a = null : this.i.a = v.i; } findByName(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; } setNativeElement(element) { this.i.setNativeElement(element); } }