import { GridSizeChangedEventArgs as GridSizeChangedEventArgs_internal } from "./GridSizeChangedEventArgs";
/**
 * Event arguments for the SizeChanged event.
*/
var IgcGridSizeChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgcGridSizeChangedEventArgs() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcGridSizeChangedEventArgs.prototype.createImplementation = function () {
        return new GridSizeChangedEventArgs_internal();
    };
    Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcGridSizeChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgcGridSizeChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "width", {
        /**
         * The new width.
        */
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = +v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "height", {
        /**
         * The new height.
        */
        get: function () {
            return this.i.a;
        },
        set: function (v) {
            this.i.a = +v;
        },
        enumerable: true,
        configurable: true
    });
    return IgcGridSizeChangedEventArgs;
}());
export { IgcGridSizeChangedEventArgs };
//# sourceMappingURL=igc-grid-size-changed-event-args.js.map
