self:reload

Client

Reloads the current page in the webview


Syntax

local status = self:reload()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

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

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

On this page