Webview.enabled readwrite


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

--! luart-extensions import 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