The OpenD Programming Language

ICoreWebView2.add_SourceChanged

Add an event handler for the SourceChanged event. SourceChanged triggers when the Source property changes. SourceChanged runs when navigating to a different site or fragment navigations. It does not trigger for other types of navigations such as page refreshes or history.pushState with the same URL as the current page. SourceChanged runs before ContentLoading for navigation to a new document.

\snippet ControlComponent.cpp SourceChanged

interface ICoreWebView2
HRESULT
add_SourceChanged

Meta