Vital.sandbox
Webview

self:load_url

Client

Loads a URL in the webview


Syntax

local status = self:load_url(url)

Parameters

TypeNameDescription
stringurlURL to load in the webview

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Load a URL in a webview
local browser = webview.create()

browser:load_url("https://google.com")

On this page