You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Avalonia.WebView2/Avalonia.WebView2.csproj
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
This package is necessary for Avalonia applications. To learn more about package versions checkout https://aka.ms/wv2-packageversion. To learn best practices checkout: https://aka.ms/wv2-bestpractices.
Copy file name to clipboardExpand all lines: src/Avalonia.WebView2/WebView2.AvaloniaProperty.cs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ partial class WebView2
17
17
/// </summary>
18
18
publicstaticreadonlyDirectProperty<WebView2,Uri?>SourceProperty=AvaloniaProperty.RegisterDirect<WebView2,Uri?>(nameof(Source), x =>x._source,(x,y)=>x.Source=y);
19
19
20
+
publicstaticreadonlyDirectProperty<WebView2,string?>HtmlSourceProperty=AvaloniaProperty.RegisterDirect<WebView2,string?>(nameof(HtmlSource), x =>x._htmlSource,(x,y)=>x.HtmlSource=y);
21
+
20
22
/// <summary>
21
23
/// The <see cref="AvaloniaProperty" /> which backs the <see cref="CanGoBack" /> property.
thrownewInvalidOperationException("The instance of CoreWebView2 is uninitialized and unable to complete this operation. See EnsureCoreWebView2Async.");
0 commit comments