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, false otherwise

Examples

Update a webview after resizing
local entity = core.webview.create()

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

On this page