UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

52 lines (51 loc) 1.22 kB
import { GridSizeChangedEventArgs as GridSizeChangedEventArgs_internal } from "./GridSizeChangedEventArgs"; /** * Event arguments for the SizeChanged event. */ export class IgcGridSizeChangedEventArgs { createImplementation() { return new GridSizeChangedEventArgs_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(); } } /** * 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; } }