Webview.enabled read/write property
Get or set the Webview ability to respond to mouse, and any other events. When set to false, disable the Webview (the user will not be able to interact with it), and Webview's events won't be fired anymore.
Example
local ui = require "ui"
require "webview"
-- create a simple Window
local win = ui.Window("Webview.enabled sample", 320, 200)
local Webview = ui.Webview(win, { url = "https://www.google.com" }, 130, 80)
-- disable the Webview
Webview.enabled = false
win:show()
-- update user interface
repeat
ui.update()
until not win.visible