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

Method resolveProperty

www/js/_hyperscript-max.js:2450–2453  ·  view source on GitHub ↗
(root, property)

Source from the content-addressed store, hash-verified

2448 }
2449 }
2450 resolveProperty(root, property) {
2451 if (this.reactivity.isTracking) this.reactivity.trackProperty(root, property);
2452 return this.#flatGet(root, property, (root2, property2) => root2[property2]);
2453 }
2454 /**
2455 * Set a property on an object and notify the reactivity system.
2456 * @param {Object} obj - DOM element or plain JS object

Callers 5

resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
_createElementSideFunction · 0.45

Calls 2

#flatGetMethod · 0.95
trackPropertyMethod · 0.45

Tested by

no test coverage detected