ICoreWebView2.add_FrameNavigationStarting

Add an event handler for the FrameNavigationStarting event. FrameNavigationStarting triggers when a child frame in the WebView requests permission to navigate to a different URI. Redirects trigger this operation as well, and the navigation id is the same as the original one.

Navigations will be blocked until all FrameNavigationStarting event handlers return.

\snippet SettingsComponent.cpp FrameNavigationStarting

interface ICoreWebView2
HRESULT
add_FrameNavigationStarting

Meta