티스토리 뷰

😀 .NET Core Blazor

@onchange

James Wetzel 2024. 3. 24. 15:38
728x90
반응형
<input type="text" @onchange="Change">
<p>@text</p>

@code {
	private string text = "";

	private void Change(ChangeEventArgs e) {
    	text = (string)e.Value!
    }
}
728x90
반응형