self:update

Client

Refreshes the webview's size and visibility state


Syntax

local status = self:update()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Update a webview after resizing
local wv = webview.create()

-- Apply after repositioning or resizing
wv:set_size(1280, 720)
wv:update()

On this page