WebView.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.
// Register
event_token ContentLoading(TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
// Revoke with event_token
void ContentLoading(event_token const* cookie) const;
// Revoke with event_revoker
WebView::ContentLoading_revoker ContentLoading(auto_revoke_t, TypedEventHandler<WebView, WebViewContentLoadingEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView,WebViewContentLoadingEventArgs> ContentLoading;
function onContentLoading(eventArgs) { /* Your code */ }
webView.addEventListener("contentloading", onContentLoading);
webView.removeEventListener("contentloading", onContentLoading);
- or -
webView.oncontentloading = onContentLoading;
Public Custom Event ContentLoading As TypedEventHandler(Of WebView, WebViewContentLoadingEventArgs)
<WebView ContentLoading="eventhandler"/>
Event Type
Remarks
WebView navigation events occur in the following order:
- NavigationStarting
- ContentLoading
- DOMContentLoaded
- NavigationCompleted
Similar events occur in the same order for each iframe in the WebView content:
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin