مشاركة عبر


WebView.FrameContentLoading Event

Definition

Occurs when a frame in the WebView has started loading new content.

// Register
event_token FrameContentLoading(TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;

// Revoke with event_token
void FrameContentLoading(event_token const* cookie) const;

// Revoke with event_revoker
WebView::FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewContentLoadingEventArgs> FrameContentLoading;
function onFrameContentLoading(eventArgs) { /* Your code */ }
webView.addEventListener("framecontentloading", onFrameContentLoading);
webView.removeEventListener("framecontentloading", onFrameContentLoading);
- or -
webView.onframecontentloading = onFrameContentLoading;
Public Custom Event FrameContentLoading As TypedEventHandler(Of WebView, WebViewContentLoadingEventArgs) 
<WebView FrameContentLoading="eventhandler"/>

Event Type

Remarks

WebView navigation events occur in the following order:

Similar events occur in the same order for each iframe in the WebView content:

Applies to