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

Method resolveProperty

www/js/_hyperscript.js:2451–2454  ·  view source on GitHub ↗
(root, property)

Source from the content-addressed store, hash-verified

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