Webview.x read/write property
Get or set the Webview horizontal position. The horizontal position start from 0 (left side of the parent widget) and increase to the right (right side of the parent widget).
Example
local ui = require "ui"
require "webview"
-- create a simple window
local win = ui.Window("Webview.x sample", 600, 300)
local Webview = ui.Webview(win, { url = "https://www.google.com" })
-- shows the window
win:show()
-- update user interface and increase Webview horizontal position
repeat
ui.update()
Webview.x = Webview.x + 1
until not win.visible or (Webview.x > 600)