UNPKG

igniteui-react-core

Version:
37 lines (36 loc) 1.71 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 { UIElementPropertyAccessor } from "./UIElementPropertyAccessor"; import { markType } from "./type"; /** * @hidden */ var CssHitTestVisiblePropertyAccessor = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CssHitTestVisiblePropertyAccessor, _super); function CssHitTestVisiblePropertyAccessor() { return _super !== null && _super.apply(this, arguments) || this; } CssHitTestVisiblePropertyAccessor.prototype.b = function (a) { var b = a; var c = b.getStyleProperty("pointer-events"); if (c != null) { switch (c.toLowerCase()) { case "none": return false; default: return true; } } return true; }; CssHitTestVisiblePropertyAccessor.prototype.c = function (a, b) { var c = a; c.setStyleProperty("pointer-events", b ? "auto" : "none"); }; CssHitTestVisiblePropertyAccessor.$t = markType(CssHitTestVisiblePropertyAccessor, 'CssHitTestVisiblePropertyAccessor', UIElementPropertyAccessor.$); return CssHitTestVisiblePropertyAccessor; }(UIElementPropertyAccessor)); export { CssHitTestVisiblePropertyAccessor };