first commit -push
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<MudTooltip Arrow="true">
|
||||
<ChildContent>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Warning">@(string.IsNullOrEmpty(Node.Name) ? Node.Id.ToString("N").Substring(0,4) : Node.Name)</MudButton>
|
||||
</ChildContent>
|
||||
<TooltipContent>
|
||||
<MudText Typo="Typo.body2">ID: @Node.Id</MudText>
|
||||
<MudText Typo="Typo.body2">X: @Node.X</MudText>
|
||||
<MudText Typo="Typo.body2">Y: @Node.Y</MudText>
|
||||
</TooltipContent>
|
||||
</MudTooltip>
|
||||
|
||||
@code {
|
||||
[Parameter, EditorRequired]
|
||||
public TrafficNodeDto Node { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user