loadHtml

fun loadHtml(html: String, url: String = BLANK_URI)(source)

Loads HTML content.

Registers a virtual resource containing html that will be available in the browser at url and loads url.

Parameters

html

content to load

url

the URL