igniteui-react-grids
Version:
Ignite UI React grid components.
64 lines (63 loc) • 1.62 kB
JavaScript
import { HeadSelectorTemplateDetails as HeadSelectorTemplateDetails_internal } from "./HeadSelectorTemplateDetails";
export class IgrHeadSelectorTemplateDetails {
createImplementation() {
return new HeadSelectorTemplateDetails_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 selectedCount() {
return this.i.c;
}
set selectedCount(v) {
this.i.c = +v;
}
get totalCount() {
return this.i.d;
}
set totalCount(v) {
this.i.d = +v;
}
findByName(name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
}
setNativeElement(element) {
this.i.setNativeElement(element);
}
selectAll() {
this.i.h();
}
deselectAll() {
this.i.g();
}
}