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 wv = webview.create()

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

On this page