Webview
self:load_html
Client
Loads raw HTML content into the webview
Syntax
local status = self:load_html(html)Parameters
| Type | Name | Description |
|---|---|---|
string | html | Raw HTML string to load into the webview |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
local browser = webview.create()
browser:load_html("<h1>Hello World</h1>")