From 7011a118a3bc2e195218d149f382a3cebfa266f9 Mon Sep 17 00:00:00 2001 From: Santiago Cattaneo Date: Wed, 24 Aug 2022 11:57:43 -0300 Subject: [PATCH] * Added list log --- BlazorReorderExample/Pages/BetweenLists.razor | 4 ++++ BlazorReorderExample/Pages/Index.razor | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/BlazorReorderExample/Pages/BetweenLists.razor b/BlazorReorderExample/Pages/BetweenLists.razor index 429441b..7501243 100644 --- a/BlazorReorderExample/Pages/BetweenLists.razor +++ b/BlazorReorderExample/Pages/BetweenLists.razor @@ -1,4 +1,5 @@ @page "/BetweenLists" +@using System.Text.Json Blazor Reorder Example @@ -15,6 +16,7 @@ +
@(JsonSerializer.Serialize(list1, new JsonSerializerOptions() { WriteIndented = true }))
@@ -25,6 +27,7 @@
+
@(JsonSerializer.Serialize(list2, new JsonSerializerOptions() { WriteIndented = true }))
@@ -35,6 +38,7 @@
+
@(JsonSerializer.Serialize(list3, new JsonSerializerOptions() { WriteIndented = true }))
diff --git a/BlazorReorderExample/Pages/Index.razor b/BlazorReorderExample/Pages/Index.razor index 2186aff..3476f23 100644 --- a/BlazorReorderExample/Pages/Index.razor +++ b/BlazorReorderExample/Pages/Index.razor @@ -1,4 +1,5 @@ @page "/" +@using System.Text.Json Blazor Reorder Example @@ -7,13 +8,14 @@ Welcome to your new reorderer list.
- +
@context.title

@context.details Go

+
@(JsonSerializer.Serialize(list, new JsonSerializerOptions() { WriteIndented = true }))
@code {