igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
32 lines (31 loc) • 1.35 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { Base, markType } from "./type";
/**
* @hidden
*/
var GridBridgeRowDefinition = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(GridBridgeRowDefinition, _super);
function GridBridgeRowDefinition() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.a = 0;
_this.b = 0;
return _this;
}
GridBridgeRowDefinition.prototype.c = function () {
switch (this.a) {
case 0: return "auto";
case 1: return this.b + "px";
case 2: return this.b + "fr";
}
return "";
};
GridBridgeRowDefinition.$t = markType(GridBridgeRowDefinition, 'GridBridgeRowDefinition');
return GridBridgeRowDefinition;
}(Base));
export { GridBridgeRowDefinition };