UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

17 lines (16 loc) 628 B
/** * DevExtreme (esm/renovation/utils/get_computed_style.js) * Version: 22.1.9 * Build date: Tue Apr 18 2023 * * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { getWindow } from "../../core/utils/window"; export default function getElementComputedStyle(el) { var _window$getComputedSt; var window = getWindow(); return el ? null === (_window$getComputedSt = window.getComputedStyle) || void 0 === _window$getComputedSt ? void 0 : _window$getComputedSt.call(window, el) : null }