Mission Control Dashboard - Initial implementation
This commit is contained in:
11
node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
generated
vendored
Normal file
11
node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { isCSSVar } from './is-css-var.mjs';
|
||||
|
||||
function getComputedStyle(element, name) {
|
||||
const computedStyle = window.getComputedStyle(element);
|
||||
return isCSSVar(name)
|
||||
? computedStyle.getPropertyValue(name)
|
||||
: computedStyle[name];
|
||||
}
|
||||
|
||||
export { getComputedStyle };
|
||||
//# sourceMappingURL=style-computed.mjs.map
|
||||
Reference in New Issue
Block a user