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

Method resolveProperty

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

Source from the content-addressed store, hash-verified

2447 }
2448 }
2449 resolveProperty(root, property) {
2450 if (this.reactivity.isTracking) this.reactivity.trackProperty(root, property);
2451 return this.#flatGet(root, property, (root2, property2) => root2[property2]);
2452 }
2453 /**
2454 * Set a property on an object and notify the reactivity system.
2455 * @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