You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
The setGlobal*Property calls are static methods on the WebView.WebBrowserHost object and are being called on the WebView.browserHost instance. This works fine for JavaScript, but TypeScript complains about it.
// Setup some global JS properties that will be available on every page loaded// into the WebViewWebView.browserHost.setGlobalBoolProperty("WebViewExample","boolValue",true);WebView.browserHost.setGlobalNumberProperty("WebViewExample","numberValue",42);WebView.browserHost.setGlobalStringProperty("WebViewExample","stringValue","Hello World!");
Needs to be updated.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
setGlobal*Property
calls are static methods on the WebView.WebBrowserHost object and are being called on the WebView.browserHost instance. This works fine for JavaScript, but TypeScript complains about it.Needs to be updated.
The text was updated successfully, but these errors were encountered: