igniteui-react-grids
Version:
Ignite UI React grid components.
42 lines (41 loc) • 1.49 kB
JavaScript
import { __extends } from "tslib";
import { IgrGridColumnOptionsSectionBase } from "./igr-grid-column-options-section-base";
import { ensureBool } from "igniteui-react-core";
var IgrGridColumnOptionsSimpleSectionBase = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrGridColumnOptionsSimpleSectionBase, _super);
function IgrGridColumnOptionsSimpleSectionBase(props) {
return _super.call(this, props) || this;
}
Object.defineProperty(IgrGridColumnOptionsSimpleSectionBase.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrGridColumnOptionsSimpleSectionBase.prototype, "caption", {
get: function () {
return this.i.by;
},
set: function (v) {
this.i.by = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrGridColumnOptionsSimpleSectionBase.prototype, "showCaption", {
get: function () {
return this.i.bw;
},
set: function (v) {
this.i.bw = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgrGridColumnOptionsSimpleSectionBase;
}(IgrGridColumnOptionsSectionBase));
export { IgrGridColumnOptionsSimpleSectionBase };