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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.webview.create()
-- Apply after repositioning or resizing
entity:set_size(1280, 720)
entity:update()