UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

20 lines (18 loc) 748 B
/** * DevExtreme (renovation/utils/get_computed_style.js) * Version: 21.2.4 * Build date: Mon Dec 06 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.default = getElementComputedStyle; var _window = require("../../core/utils/window"); var window = (0, _window.getWindow)(); function getElementComputedStyle(el) { var _window$getComputedSt; return el ? null === (_window$getComputedSt = window.getComputedStyle) || void 0 === _window$getComputedSt ? void 0 : _window$getComputedSt.call(window, el) : null } module.exports = exports.default; module.exports.default = exports.default;