Vital.sandbox
Webview

self:is_transparent

Client

Retrieves whether the webview background is transparent


Syntax

local result = self:is_transparent()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if the webview is transparent, false otherwise

Examples

Check if a webview has a transparent background
local browser = webview.create()

engine.print("info", "Webview transparent:", browser:is_transparent())

On this page