UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

67 lines (66 loc) 2.02 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 { CanvasGridCellBase } from "./CanvasGridCellBase"; import { Base, markType } from "igniteui-react-core"; /** * @hidden */ export let CanvasImageCell = /*@__PURE__*/ (() => { class CanvasImageCell extends CanvasGridCellBase { get dd() { return this.dc; } set dd(a) { this.dc = a; } constructor(a) { super(a); this.da = 1; this.db = 3; this.df = null; this.dc = 1; this.de = null; this.de = a.createElement("img"); } di(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); } dh(a) { a.setAttribute("src", ""); } dl(a, b) { this.df = a; this.de.setAttribute("src", a); } dg() { this.dh(this.de); this.df = ""; } dj(a) { this.ad = true; this.da = a; } dk(a) { this.ad = true; this.db = a; } get_af() { return true; } } CanvasImageCell.$t = /*@__PURE__*/ markType(CanvasImageCell, 'CanvasImageCell', CanvasGridCellBase.$); return CanvasImageCell; })();