igniteui-react-grids
Version:
Ignite UI React grid components.
41 lines (40 loc) • 1.3 kB
JavaScript
import { __extends } from "tslib";
import { IgrCellInfo } from "./igr-cell-info";
import { TemplateCellModel as TemplateCellModel_internal } from "./TemplateCellModel";
/**
* Represents backing information for a template cell.
*/
var IgrTemplateCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrTemplateCellInfo, _super);
function IgrTemplateCellInfo() {
return _super.call(this) || this;
}
IgrTemplateCellInfo.prototype.createImplementation = function () {
return new TemplateCellModel_internal();
};
Object.defineProperty(IgrTemplateCellInfo.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrTemplateCellInfo.prototype, "value", {
/**
* Sets or gets the value to provide to the template.
*/
get: function () {
return this.i.mh;
},
set: function (v) {
this.i.mh = v;
},
enumerable: false,
configurable: true
});
return IgrTemplateCellInfo;
}(IgrCellInfo));
export { IgrTemplateCellInfo };