Vital.sandbox
Webview

self:reload

Client

Reloads the current page in the webview


Syntax

local status = self:reload()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Reload the current page in a webview
local browser = webview.create()

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

On this page