Package-level declarations

Types

Link copied to clipboard
data class HtmlState(val composeViewport: Element = document.body!!, val container: HTMLElement = document.createElement("div") as HTMLDivElement, val content: HTMLElement = document.createElement("div") as HTMLDivElement)

Functions

Link copied to clipboard
fun Html(state: HtmlState = rememberHtmlState(), modifier: Modifier = Modifier, inlineJs: (HtmlState) -> String? = null, scripts: List<String> = emptyList(), html: (HtmlState) -> String)

Render arbitrary HTML within the compose layout.

Link copied to clipboard
fun rememberHtmlState(composeViewport: Element = document.body!!): HtmlState

Creates a remembered instance of HtmlState