HtmlState

constructor(composeViewport: Element = document.body!!, container: HTMLElement = document.createElement("div") as HTMLDivElement, content: HTMLElement = document.createElement("div") as HTMLDivElement)

Parameters

composeViewport

The element containing the primary compose viewport. Defaults to document.body.

container

The primary element added to the DOM. All CustomEvents should be dispatched to this element.

content

The content element. This is the node any custom HTML is appended to.