mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
11 lines
318 B
JavaScript
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);
|
||
|
}
|