igniteui-react-grids
Version:
Ignite UI React grid components.
55 lines (54 loc) • 1.43 kB
JavaScript
import { BaseEventArgsDetail as BaseEventArgsDetail_internal } from "./BaseEventArgsDetail";
export class IgrBaseEventArgsDetail {
createImplementation() {
return new BaseEventArgsDetail_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();
}
}
/**
* Provides reference to the owner component.
*/
get owner() {
return this.i.e;
}
set owner(v) {
this.i.e = v;
}
findByName(name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
}
setNativeElement(element) {
this.i.setNativeElement(element);
}
}