Share via


WebUIView.ContentLoading Event

Definition

Occurs when the view starts 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
WebUIView::ContentLoading_revoker ContentLoading(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlContentLoadingEventArgs> ContentLoading;
function onContentLoading(eventArgs) { /* Your code */ }
webUIView.addEventListener("contentloading", onContentLoading);
webUIView.removeEventListener("contentloading", onContentLoading);
- or -
webUIView.oncontentloading = onContentLoading;
Public Custom Event ContentLoading As TypedEventHandler(Of IWebViewControl, WebViewControlContentLoadingEventArgs) Implements ContentLoading

Event Type

Implements

Applies to