igniteui-webcomponents-grids
Version:
Ignite UI Web Components grid components.
79 lines (78 loc) • 2.57 kB
JavaScript
import { CellStyleRequestedEventArgs as CellStyleRequestedEventArgs_internal } from "./CellStyleRequestedEventArgs";
/**
* Information about the style request for a cell.
*/
var IgcCellStyleRequestedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcCellStyleRequestedEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgcCellStyleRequestedEventArgs.prototype.createImplementation = function () {
return new CellStyleRequestedEventArgs_internal();
};
Object.defineProperty(IgcCellStyleRequestedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcCellStyleRequestedEventArgs.prototype.onImplementationCreated = function () {
};
IgcCellStyleRequestedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcCellStyleRequestedEventArgs.prototype, "styleKey", {
/**
* The proposed style key for the cell. Used for recycling the cell.
*/
get: function () {
return this.i.styleKey;
},
set: function (v) {
this.i.styleKey = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCellStyleRequestedEventArgs.prototype, "resolvedValue", {
/**
* The resolved value for the cell.
*/
get: function () {
return this.i.resolvedValue;
},
set: function (v) {
this.i.resolvedValue = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCellStyleRequestedEventArgs.prototype, "rowNumber", {
/**
* The row number for the cell.
*/
get: function () {
return this.i.rowNumber;
},
set: function (v) {
this.i.rowNumber = +v;
},
enumerable: false,
configurable: true
});
return IgcCellStyleRequestedEventArgs;
}());
export { IgcCellStyleRequestedEventArgs };