igniteui-react-grids
Version:
Ignite UI React grid components.
49 lines (48 loc) • 1.48 kB
JavaScript
import { CheckboxListIndexType_$type } from "./CheckboxListIndexType";
import { CheckboxListIndexTypeChangedEventArgs as CheckboxListIndexTypeChangedEventArgs_internal } from "./CheckboxListIndexTypeChangedEventArgs";
import { ensureEnum } from "igniteui-react-core";
export class IgrCheckboxListIndexTypeChangedEventArgs {
createImplementation() {
return new CheckboxListIndexTypeChangedEventArgs_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 oldValue() {
return this.i.b;
}
set oldValue(v) {
this.i.b = ensureEnum(CheckboxListIndexType_$type, v);
}
get newValue() {
return this.i.a;
}
set newValue(v) {
this.i.a = ensureEnum(CheckboxListIndexType_$type, v);
}
}