🔗 Function: dangerouslySetInnerHTML()
dangerouslySetInnerHTML<
P
,E
>(reactive
,options
):Effect
<P
,E
>
Defined in: src/lib/effects.ts:543
Effect for setting the inner HTML of an element with optional Shadow DOM support.
Provides security options for script execution and shadow root creation.
🔗 Type Parameters
🔗 P
P
extends ComponentProps
🔗 E
E
extends Element
= HTMLElement
🔗 Parameters
🔗 reactive
Reactive
<string
, P
, E
>
Reactive value bound to the inner HTML content
🔗 options
DangerouslySetInnerHTMLOptions
= {}
Configuration options: shadowRootMode, allowScripts
🔗 Returns
Effect
<P
, E
>
Effect function that sets the inner HTML of the element
🔗 Since
0.11.0