You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
318 B
11 lines
318 B
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);
|
|
} |