title: Which WebView2 event/function can be use to replace ScriptNotify Webview event?
body: <p>Today, I have decided to migrate <code>WebView</code> control to <code>WebView2</code> control in a VB.net application.</p>
  <p>I have installed <code>WebView2</code> from <code>NuGet</code> and I have changed declarations and initialization lines (only 4 lines in my VB program because I'm using 2 WebView2).</p>
  <p>When I build my application, <code>Visual Studio 2019</code> indicates that <code>ScriptNotify</code> event is not an event of <code>WebView2</code>!</p>
  <pre><code>Private Sub wvSelect_ScriptNotify(
      sender As Object, 
      e As WebViewControlScriptNotifyEventArgs) Handles wvSelect.ScriptNotify
  </code></pre>
  <p>Using old <code>WebView</code> control, this event is generated using <code>windows.external.notify</code> Javascript function.</p>
  <pre><code>function clickPlus(e) { window.external.notify(&quot;+PLUS:&quot;); }
  </code></pre>
  <p>Which event is replacing <code>ScriptNotify</code> event in <code>WebView2</code> control?</p>
  <p>I'm interested to know the new event and also how this event is called from Javascript.</p>