From d70de9317f0215168b7f2ecbee4d4b00bc97832a Mon Sep 17 00:00:00 2001 From: sjmdsky Date: Tue, 21 May 2019 23:12:00 +0800 Subject: [PATCH] Fixed example (#12485) --- aspnetcore/blazor/components.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/components.md b/aspnetcore/blazor/components.md index a3f5d0d44a..b8486cc8c7 100644 --- a/aspnetcore/blazor/components.md +++ b/aspnetcore/blazor/components.md @@ -349,9 +349,9 @@ When the button is selected in the Child component: @{ var message = "Default Text"; } + OnClick="@(async () => { await Task.Yield(); messageText = "Blaze It!"; })" /> -@function { +@functions { private string messageText; } ```