Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HostObjectsSyncRoot class

Package:
WebView2Script

Contains synchronous proxies for all host objects added via CoreWebView2.AddHostObjectToScript.

If you call coreWebView2.AddHostObjectToScript("myObject", object); in your native code, a synchronous proxy for object is available to your web-side code, by using chrome.webview.hostObjects.sync.myObject.


Feedback

Was this page helpful?