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

Method resolveStyle

www/js/_hyperscript.esm.js:2521–2523  ·  view source on GitHub ↗
(root, property)

Source from the content-addressed store, hash-verified

2519 return this.#flatGet(root, property, (root2, property2) => root2.getAttribute && root2.getAttribute(property2));
2520 }
2521 resolveStyle(root, property) {
2522 return this.#flatGet(root, property, (root2, property2) => root2.style && root2.style[property2]);
2523 }
2524 resolveComputedStyle(root, property) {
2525 return this.#flatGet(root, property, (root2, property2) => getComputedStyle(root2).getPropertyValue(property2));
2526 }

Callers 3

resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45

Calls 1

#flatGetMethod · 0.95

Tested by

no test coverage detected