Skip to main content

WLXEmbed

WLJS
Execution environment
System`
Context
caution

Deprecated in 2024. Please consider to use HTMLView

WLXEmbed[html_String | {html__String}, opts___]

embeds an html string or array of string into a DOM element available in the context (i.e. env.element variable on JS side or AttachDOM) and executes all script tags found in the string

This is a core function behind most input elements, such as InputButton, InputText, TextView and etc.

Options

"SideEffect"

Executes a given WL expression on the frontend (WLJS Interpreter) after HTML DOM element has been embedded.