igniteui-react-grids
Version:
Ignite UI React grid components.
45 lines (44 loc) • 1.33 kB
JavaScript
import { ComponentArrayDataValueChangedEventArgs as ComponentArrayDataValueChangedEventArgs_internal } from "./ComponentArrayDataValueChangedEventArgs";
export class IgrComponentArrayDataValueChangedEventArgs {
createImplementation() {
return new ComponentArrayDataValueChangedEventArgs_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 detail() {
return this.i.a;
}
set detail(v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
const re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.a = v;
}
}