igniteui-webcomponents-grids
Version:
Ignite UI Web Components grid components.
66 lines (65 loc) • 2.05 kB
JavaScript
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();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgcGridSizeChangedEventArgs.prototype.createImplementation = function () {
return new GridSizeChangedEventArgs_internal();
};
Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcGridSizeChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgcGridSizeChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "width", {
/**
* The new width.
*/
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcGridSizeChangedEventArgs.prototype, "height", {
/**
* The new height.
*/
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = +v;
},
enumerable: false,
configurable: true
});
return IgcGridSizeChangedEventArgs;
}());
export { IgcGridSizeChangedEventArgs };