File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ ScenarioDOMContentLoaded::ScenarioDOMContentLoaded(AppWindow* appWindow)
4040```
4141webView.CoreWebView2.DOMContentLoaded += (object sender, CoreWebView2DOMContentLoadedEventArgs arg) =>
4242{
43- webView.ExecuteScriptAsync("let " +
43+ _ = webView.ExecuteScriptAsync("let " +
4444 "content=document.createElement(\"h2\");content.style.color=" +
4545 "'blue';content.textContent= \"This text was added by the " +
4646 "host app\";document.body.appendChild(content);");
@@ -79,8 +79,8 @@ interface ICoreWebView2_2 : ICoreWebView2 {
7979/// Event args for the DOMContentLoaded event.
8080[uuid(E8BA4206-D6F8-42F1-9A6D-43C8A99C1F39), object, pointer_default(unique)]
8181interface ICoreWebView2DOMContentLoadedEventArgs : IUnknown {
82- /// The ID of the navigation.
83- [propget] HRESULT NavigationId([out, retval] UINT64* navigation_id );
82+ /// The ID of the navigation which corresponds to other navigation ID properties on other navigation events .
83+ [propget] HRESULT NavigationId([out, retval] UINT64* navigationId );
8484}
8585
8686/// The caller implements this interface to receive the DOMContentLoaded
You can’t perform that action at this time.
0 commit comments