klyn.gui.windows.browser.BrowserWidget.navigateToString
method
public navigateToString(html as String, baseUrl as String = "about:blank", appendHistory as Boolean = true) as Void:
Description

Loads an in-memory HTML document without filesystem or network access.

Parameters
ParameterDescription
htmlHTML source.
baseUrlBase URL used by relative links and resources.
appendHistoryWhether the in-memory document becomes a browser history entry. Live previews should pass false.
Example
browser.navigateToString("<h1>Hello Klyn</h1>", "about:blank")
browser.navigateToString("<h1>Live preview</h1>", "about:blank", false)