Skip to content

Commit ba57845

Browse files
committed
Use element id to check if page got loaded.
1 parent 0f28172 commit ba57845

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@page "/"
22

3-
<h1>Hello, world!</h1>
3+
<h1 id="session-storage-anchor">Hello, world!</h1>
44

55
Welcome to your new app.

src/Components/test/testassets/BasicTestApp/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
@using System.Web
33
@inject NavigationManager NavigationManager
44

5+
<p id="session-storage-anchor"></p>
56
<div id="test-selector">
6-
<h1 style="margin: 0; padding: 0; line-height: 1;">Hello</h1>
77
Select test:
88
<select id="test-selector-select" @bind=SelectedComponentTypeName>
99
<option value="none">Choose...</option>

src/Components/test/testassets/Components.TestServer/RazorComponents/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
<PageTitle>Home</PageTitle>
44

5-
<h1>Hello</h1>
5+
<h1 id="session-storage-anchor">Hello</h1>
66

77
<p>This is a Razor Component endpoint.</p>

0 commit comments

Comments
 (0)