IWebViewControl.ContentLoading Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the IWebViewControl has started loading new content.
// Register
event_token ContentLoading(TypedEventHandler<IWebViewControl, WebViewControlContentLoadingEventArgs const&> const& handler) const;
// Revoke with event_token
void ContentLoading(event_token const* cookie) const;
// Revoke with event_revoker
IWebViewControl::ContentLoading_revoker ContentLoading(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlContentLoadingEventArgs const&> const& handler) const;
event TypedEventHandler<IWebViewControl,WebViewControlContentLoadingEventArgs> ContentLoading;
function onContentLoading(eventArgs) { /* Your code */ }
iWebViewControl.addEventListener("contentloading", onContentLoading);
iWebViewControl.removeEventListener("contentloading", onContentLoading);
- or -
iWebViewControl.oncontentloading = onContentLoading;
Event ContentLoading As TypedEventHandler(Of IWebViewControl, WebViewControlContentLoadingEventArgs)