Webview.Open()
has been removed. Use other webview APIs to create a window, open a link and run main UI loop.Webview.Debug()
andwebview.Debugf()
have been removed. Use your favorite logging library to debug webview apps.Webview.Settings
struct has been removed. Title, URL and size are controlled via other API setters and can be updated at any time, not only when webview is created.Webview.Loop()
has been removed. UseRun()
instead.WebView.Run()
,WebView.Terminate()
,WebView.SetTitle()
,WebView.Dispatch()
stayed the same.WebView.Exit()
has been renamed toWebView.Destroy()
WebView.SetColor()
andWebView.SetFullScreen()
have been removed. UseWindow()
to get native window handle and probably write some Cgo code to adjust native window to your taste.Webview.Dialog
has been removed. But it is likely to be brought back as a standalone module.WebView.Eval()
remained the same.WebView.InjectCSS()
has been removed. Use eval to inject style tag with CSS inside.WebView.Bind()
kept the name, but changed the semantics. Only functions can be bound. Not the structs, like in Lorca.