UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

42 lines (41 loc) 1.61 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 { NativeUIElementBridge } from "./NativeUIElementBridge"; import { markType } from "./type"; /** * @hidden */ var SpanBridge = /** @class */ /*@__PURE__*/ (function (_super) { __extends(SpanBridge, _super); function SpanBridge() { return _super !== null && _super.apply(this, arguments) || this; } SpanBridge.prototype.addHandler = function (a, b, c, d) { }; SpanBridge.prototype.getValue = function (a, b) { switch (b) { case 8: return a.getText(); } return null; }; SpanBridge.prototype.removeHandler = function (a, b, c, d) { }; SpanBridge.prototype.setValue = function (a, b, c) { switch (b) { case 8: a.setText(c); break; case 9: a.setStyleProperty("font", c.fontString); break; } }; SpanBridge.$t = markType(SpanBridge, 'SpanBridge', NativeUIElementBridge.$); return SpanBridge; }(NativeUIElementBridge)); export { SpanBridge };