UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

74 lines (73 loc) 2.32 kB
import { GridSizeChangedEventArgs as GridSizeChangedEventArgs_internal } from "./GridSizeChangedEventArgs"; /** * Event arguments for the SizeChanged event. */ var IgrGridSizeChangedEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrGridSizeChangedEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrGridSizeChangedEventArgs.prototype.createImplementation = function () { return new GridSizeChangedEventArgs_internal(); }; Object.defineProperty(IgrGridSizeChangedEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridSizeChangedEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrGridSizeChangedEventArgs.prototype.onImplementationCreated = function () { }; IgrGridSizeChangedEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrGridSizeChangedEventArgs.prototype, "width", { /** * The new width. */ get: function () { return this.i.b; }, set: function (v) { this.i.b = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrGridSizeChangedEventArgs.prototype, "height", { /** * The new height. */ get: function () { return this.i.a; }, set: function (v) { this.i.a = +v; }, enumerable: false, configurable: true }); return IgrGridSizeChangedEventArgs; }()); export { IgrGridSizeChangedEventArgs };