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

Method resolveStyle

src/core/runtime/runtime.js:514–516  ·  view source on GitHub ↗
(root, property)

Source from the content-addressed store, hash-verified

512 }
513
514 resolveStyle(root, property) {
515 return this.#flatGet(root, property, (root, property) => root.style && root.style[property])
516 }
517
518 resolveComputedStyle(root, property) {
519 return this.#flatGet(root, property, (root, property) => getComputedStyle(root).getPropertyValue(property))

Callers 3

resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45

Calls 1

#flatGetMethod · 0.95

Tested by

no test coverage detected