Page MenuHomec4science

getComputedStyle.js
No OneTemporary

File Metadata

Created
Thu, Dec 12, 10:43

getComputedStyle.js

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);
}

Event Timeline