webview

webview.webview.show

Declaration
lua
webview.show(config)
Description
Show a webview overlay.
Parameters
`config` (table) — {html, url, base_url, x, y, w, h, alpha, opaque, corner_radius, no_bounce, can_drag}
Return Values
`string` — UUID identifier
Example
lua
local id = webview.show({html="<h1>Hello</h1>", x=50, y=100, w=300, h=200})
local id = webview.show({url="https://google.com"})