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

Method resolveAttribute

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

Source from the content-addressed store, hash-verified

507 }
508
509 resolveAttribute(root, property) {
510 if (this.reactivity.isTracking) this.reactivity.trackAttribute(root, property);
511 return this.#flatGet(root, property, (root, property) => root.getAttribute && root.getAttribute(property))
512 }
513
514 resolveStyle(root, property) {
515 return this.#flatGet(root, property, (root, property) => root.style && root.style[property])

Callers 5

resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
_createExpressionSideFunction · 0.45

Calls 2

#flatGetMethod · 0.95
trackAttributeMethod · 0.45

Tested by

no test coverage detected