Fixed example (#12485)
parent
04b68114cc
commit
d70de9317f
|
@ -349,9 +349,9 @@ When the button is selected in the Child component:
|
|||
@{ var message = "Default Text"; }
|
||||
|
||||
<ChildComponent
|
||||
OnClick="@(async () => { await Task.Yield(); messageText = "Blaze It!"; }" />
|
||||
OnClick="@(async () => { await Task.Yield(); messageText = "Blaze It!"; })" />
|
||||
|
||||
@function {
|
||||
@functions {
|
||||
private string messageText;
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue