🔗 Function: show()
show<
P,E>(reactive):Effect<P,E>
Defined in: src/lib/effects.ts:321
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