UIElement Docs Version 0.13.3

🔗 Function: updateElement()

updateElement<P, T, E>(reactive, updater): Effect<P, E>

Defined in: src/lib/effects.ts:210

Core effect function for updating element properties based on reactive values.
This function handles the lifecycle of reading, updating, and deleting element properties
while providing proper error handling and debugging support.

🔗 Type Parameters

🔗 P

P extends ComponentProps

🔗 T

T extends object

🔗 E

E extends Element = HTMLElement

🔗 Parameters

🔗 reactive

Reactive<T, P, E>

The reactive value that drives the element updates

🔗 updater

ElementUpdater<E, T>

Configuration object defining how to read, update, and delete the element property

🔗 Returns

Effect<P, E>

Effect function that manages the element property updates

🔗 Since

0.9.0