UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

53 lines (52 loc) 1.44 kB
import { SortingExpressionEventArgs as SortingExpressionEventArgs_internal } from "./SortingExpressionEventArgs"; export class IgrSortingExpressionEventArgs { createImplementation() { return new SortingExpressionEventArgs_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() { if (!this.i.a) { return undefined; } let ret = []; for (let i = 0; i < this.i.a.length; i++) { let impl = this.i.a[i]; ret.push(impl.nativeElement); } return ret; } set detail(v) { let arr = []; for (let i = 0; i < v.length; i++) { arr.push(v[i]); } this.i.a = arr; } }