Webview
self:load_url
Client
Loads a URL in the webview
Syntax
local status = self:load_url(url)Parameters
| Type | Name | Description |
|---|---|---|
string | url | URL to load in the webview |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
local browser = webview.create()
browser:load_url("https://google.com")