Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
549 B
Plaintext
20 lines
549 B
Plaintext
"use strict";
|
|
|
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
|
|
exports.__esModule = true;
|
|
exports.default = getComputedStyle;
|
|
|
|
var _ownerWindow = _interopRequireDefault(require("./ownerWindow"));
|
|
|
|
/**
|
|
* Returns one or all computed style properties of an element.
|
|
*
|
|
* @param node the element
|
|
* @param psuedoElement the style property
|
|
*/
|
|
function getComputedStyle(node, psuedoElement) {
|
|
return (0, _ownerWindow.default)(node).getComputedStyle(node, psuedoElement);
|
|
}
|
|
|
|
module.exports = exports["default"]; |