Add an event handler for the NavigationStarting event.
NavigationStarting runs when the WebView main frame is requesting
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 NavigationStarting event handlers
return.
Add an event handler for the NavigationStarting event. NavigationStarting runs when the WebView main frame is requesting 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 NavigationStarting event handlers return.
\snippet SettingsComponent.cpp NavigationStarting