- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
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);
|
|
} |