UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

21 lines (19 loc) 764 B
/** * DevExtreme (cjs/__internal/core/r1/utils/get_computed_style.js) * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getElementComputedStyle; var _window = require("../../../../core/utils/window"); function getElementComputedStyle(el) { var _window$getComputedSt; const window = (0, _window.getWindow)(); return el ? null === (_window$getComputedSt = window.getComputedStyle) || void 0 === _window$getComputedSt ? void 0 : _window$getComputedSt.call(window, el) : null }