Webview.statusbar readonly
Enable/disable the Webview status bar, by setting this property to true
or false
respectively.
If enabled, this property displays a status bar in the left bottom corner of the Webview widget.
Example
local ui = require "ui"
require "webview"
-- create a simple window
local win = ui.Window("Webview.statusbar property sample", 600, 300)
local Webview = ui.Webview(win, { url = "https://www.google.com" })
Webview.align = "all"
function Webview:onReady()
-- Hides the statusbar window
Webview.statusbar = false
end
-- shows the window
win:show()
while win.visible do
ui.update()
end