public navigateToString(html as String, baseUrl as String = "about:blank", appendHistory as Boolean = true) as Void:
Loads an in-memory HTML document without filesystem or network access.
| Parameter | Description |
|---|---|
html | HTML source. |
baseUrl | Base URL used by relative links and resources. |
appendHistory | Whether the in-memory document becomes a browser history entry. Live previews should pass false. |
browser.navigateToString("<h1>Hello Klyn</h1>", "about:blank")
browser.navigateToString("<h1>Live preview</h1>", "about:blank", false)