Contents - Index - Top


OnWebMessageReceived

Interface AntViewFrame

 

Type: Event

Parameters:  String URI String MessageAsJson String MessageAsString

 

 

Raised when the WebMessageEnabled setting is set and the current iframe 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 CoreWebView2Frame.WebMessageReceived Event.

 

Introduced in AntView release 1.1.200

 


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