WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

CoreWebView2NewWindowRequestedEventArgs: Add property to indicate source/type

Open anovik opened this issue 3 years ago • 13 comments

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?

AB#33280354

anovik avatar May 11 '21 10:05 anovik