WebView2Feedback
WebView2Feedback copied to clipboard
CoreWebView2NewWindowRequestedEventArgs: Add property to indicate source/type
The question is about a situation when webview is creating new window:
webView.CoreWebView2.NewWindowRequested += newWindowRequested;
private void newWindowRequested(CoreWebView2 sender,
CoreWebView2NewWindowRequestedEventArgs args)
{
}
CoreWebView2NewWindowRequestedEventArgs
has the properties which are not clear to me. It has IsUserInitiated
which is always true, why do we need it?
Also we need a property to distingiush whether a link has been clicked or new window comes from window.open()
. Can such a property be added?