UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

54 lines (53 loc) 1.6 kB
import { IgcFilterExpressionCollection } from "igniteui-webcomponents-core"; import { GridFilterExpressionsEventArgs as GridFilterExpressionsEventArgs_internal } from "./GridFilterExpressionsEventArgs"; export class IgcGridFilterExpressionsEventArgs { createImplementation() { return new GridFilterExpressionsEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { 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 filterExpressions() { const r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { let e = new IgcFilterExpressionCollection(); if (r.$type) { e._implementation = r; } else { if (e.i.setNativeElement) { e.i.setNativeElement(r); } } r.externalObject = e; } return r.externalObject; } set filterExpressions(v) { v == null ? this.i.a = null : this.i.a = v.i; } }