self:is_transparent

Client

Retrieves whether the webview background is transparent


Syntax

local result = self:is_transparent()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the webview is transparent, false otherwise

Examples

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

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

On this page