UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

73 lines (72 loc) 2.4 kB
/* 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 { CanvasGridCellBase } from "./CanvasGridCellBase"; import { Base, markType } from "igniteui-react-core"; /** * @hidden */ var CanvasImageCell = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CanvasImageCell, _super); function CanvasImageCell(a) { var _this = _super.call(this, a) || this; _this.da = 1; _this.db = 3; _this.df = null; _this.dc = 1; _this.de = null; _this.de = a.createElement("img"); return _this; } Object.defineProperty(CanvasImageCell.prototype, "dd", { get: function () { return this.dc; }, set: function (a) { this.dc = a; }, enumerable: false, configurable: true }); CanvasImageCell.prototype.di = function (a, b) { this.dg(); this.de.setRawStyleProperty("opacity", "0"); if (a == null || a.length == 0) { this.dh(this.de); return; } if (Base.equalsStatic(a, this.df)) { return; } this.dl(a, b); }; CanvasImageCell.prototype.dh = function (a) { a.setAttribute("src", ""); }; CanvasImageCell.prototype.dl = function (a, b) { this.df = a; this.de.setAttribute("src", a); }; CanvasImageCell.prototype.dg = function () { this.dh(this.de); this.df = ""; }; CanvasImageCell.prototype.dj = function (a) { this.ad = true; this.da = a; }; CanvasImageCell.prototype.dk = function (a) { this.ad = true; this.db = a; }; CanvasImageCell.prototype.get_af = function () { return true; }; CanvasImageCell.$t = markType(CanvasImageCell, 'CanvasImageCell', CanvasGridCellBase.$); return CanvasImageCell; }(CanvasGridCellBase)); export { CanvasImageCell };