parent
2845856f51
commit
a6130fe49e
@ -0,0 +1,6 @@
|
||||
@page "/editUser/{Id:int}"
|
||||
@using adminBlazor.Models
|
||||
|
||||
<h3>Edit</h3>
|
||||
|
||||
<div>My parameter: @Id</div>
|
@ -0,0 +1,13 @@
|
||||
@page "/RouteParameter/{text}"
|
||||
|
||||
<h1>Blazor is @Text!</h1>
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
public string? Text { get; set; }
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
Text = Text ?? "fantastic";
|
||||
}
|
||||
}
|
Loading…
Reference in new issue