interface ICoreWebView2ExperimentalNewWindowRequestedEventArgs

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

Note

This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.

interface ICoreWebView2ExperimentalNewWindowRequestedEventArgs
  : public IUnknown

Event args for the NewWindowRequested event.

Summary

Members Descriptions
get_WindowFeatures Window features specified by the window.open call.

The event is fired when content inside webview requested to a open a new window (through window.open() and so on.)

Members

get_WindowFeatures

Window features specified by the window.open call.

public HRESULT get_WindowFeatures(ICoreWebView2ExperimentalWindowFeatures ** windowFeatures)

These features can be considered for positioning and sizing of new webview windows.