UIElement Docs Version 0.13.3

🔗 Function: pass()

pass<P, Q>(reactives): Effect<P, Component<Q>>

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

Effect for passing reactive values to a descendant UIElement component.

🔗 Type Parameters

🔗 P

P extends ComponentProps

🔗 Q

Q extends ComponentProps

🔗 Parameters

🔗 reactives

Reactives<Component<Q>, P>

Reactive values to pass

🔗 Returns

Effect<P, Component<Q>>

Effect function that passes reactive values to the descendant component

🔗 Since

0.13.3

🔗 Throws

When the provided reactives are not an object or the target is not a UIElement component

🔗 Throws

When passing signals failed for some other reason