Partager via


ScriptNotifyEvent object

Note

The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).

An object that represents an event fired when content contained in the webview passes a string to the application by using JavaScript.

Properties

callingUri

Gets the Uniform Resource Identifier (URI) of the page containing the script that raised the ScriptNotifyEvent.

This property is read-only.

var callingUri = ScriptNotifyEvent.callingUri;

Property value

Type: DOMString

value

The method name as passed to the application.

This property is read-only.

var value = ScriptNotifyEvent.value;

Property value

Type: DOMString