Contents - Index - Top


OnWebMessageReceived

Interface AntView 

 

Type: Event

Parameters:  String URI String MessageAsJson String MessageAsString

 

 

Raised when the WebMessageEnabled setting is set and the top-level document of the top level frame uses javascript postMessage to send a message via the window.chrome.webview.postMessage mechanism.

If postMessage is used to send a JSON value, then the string is empty.

 

You do need to enable the WebMessageEnabled property if you want to process this event.

 

See also CoreWebView2.WebMessageReceived Event.

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/30/2024