igniteui-react-grids
Version:
Ignite UI React grid components.
58 lines (57 loc) • 1.47 kB
JavaScript
import { ForOfStateDetail as ForOfStateDetail_internal } from "./ForOfStateDetail";
export class IgrForOfStateDetail {
createImplementation() {
return new ForOfStateDetail_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 startIndex() {
return this.i.d;
}
set startIndex(v) {
this.i.d = +v;
}
get chunkSize() {
return this.i.c;
}
set chunkSize(v) {
this.i.c = +v;
}
findByName(name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
}
setNativeElement(element) {
this.i.setNativeElement(element);
}
}