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, false otherwise |
Examples
local entity = core.webview.create()
entity:load_html("<h1>Hello World</h1>")