MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / resolveComputedStyle

Method resolveComputedStyle

www/js/_hyperscript.js:2526–2528  ·  view source on GitHub ↗
(root, property)

Source from the content-addressed store, hash-verified

2524 return this.#flatGet(root, property, (root2, property2) => root2.style && root2.style[property2]);
2525 }
2526 resolveComputedStyle(root, property) {
2527 return this.#flatGet(root, property, (root2, property2) => getComputedStyle(root2).getPropertyValue(property2));
2528 }
2529 assignToNamespace(elt, nameSpace, name, value) {
2530 let root;
2531 if (elt == null || typeof document !== "undefined" && elt === document.body) {

Callers 3

resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45

Calls 2

#flatGetMethod · 0.95
getComputedStyleFunction · 0.50

Tested by

no test coverage detected