UIElement Docs Version 0.13.3

🔗 Function: show()

show<P, E>(reactive): Effect<P, E>

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

Effect for controlling element visibility by setting the 'hidden' property.
When the reactive value is true, the element is shown; when false, it's hidden.

🔗 Type Parameters

🔗 P

P extends ComponentProps

🔗 E

E extends HTMLElement = HTMLElement

🔗 Parameters

🔗 reactive

Reactive<boolean, P, E>

Reactive value bound to the visibility state

🔗 Returns

Effect<P, E>

Effect function that controls element visibility

🔗 Since

0.13.1