Files
verify/frontend/node_modules/dom-helpers/esm/getComputedStyle.js
Mohamed Mathar Irfan ed6610d5d8 Initial project upload
2026-07-28 17:57:02 +05:30

11 lines
318 B
JavaScript

import ownerWindow from './ownerWindow';
/**
* Returns one or all computed style properties of an element.
*
* @param node the element
* @param psuedoElement the style property
*/
export default function getComputedStyle(node, psuedoElement) {
return ownerWindow(node).getComputedStyle(node, psuedoElement);
}