UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

56 lines (55 loc) 1.33 kB
import { GridSizeChangedEventArgs as GridSizeChangedEventArgs_internal } from "./GridSizeChangedEventArgs"; /** * Event arguments for the SizeChanged event. */ export class IgrGridSizeChangedEventArgs { createImplementation() { return new GridSizeChangedEventArgs_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(); } } /** * The new width. */ get width() { return this.i.b; } set width(v) { this.i.b = +v; } /** * The new height. */ get height() { return this.i.a; } set height(v) { this.i.a = +v; } }