Skip to content

Commit 53ca1ec

Browse files
committed
fix: comments
1 parent 8a16133 commit 53ca1ec

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

hello-world/blazor/hello-world-blazor/BlazorApp/Pages/DecodeImage.razor

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
</div>
1111

1212
@code {
13-
// reference:
14-
https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-8.0#invoke-js-functions
13+
// reference: https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-8.0#invoke-js-functions
1514
1615
private async Task DecodeImageTask()
1716
{

hello-world/blazor/hello-world-blazor/BlazorApp/Pages/DecodeVideo.razor

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
<button @onclick="ToggleVideoTask" style="margin-bottom: 1rem">@videoDecodeBtn</button>
88
<div id="camera-view-container" style="width: 100%; height: 50vh; display: none"></div>
99
<h3>Results:</h3>
10-
<div id="results" style="width: 100%; height: 30vh; overflow: auto; white-space: pre-wrap; border: 1px solid black;"></div>
10+
<div id="results" style="width: 100%; height: 30vh; overflow: auto; white-space: pre-wrap; border: 1px solid black;">
11+
</div>
1112

1213

1314
@code {
14-
// reference: https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-8.0#invoke-js-functions
15-
private string mode = "stop";
15+
// reference:
16+
https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-8.0#invoke-js-functions
17+
private string mode = "stop";
1618
private string videoDecodeBtn = "Decode Video";
1719

1820
private async Task ToggleVideoTask()

0 commit comments

Comments
 (0)