In this episode you'll learn how to handle all kinds of UI events from your components. We'll also look at handling component child content, working with render fragments, and handling additional component attributes.
Follow along: https://aka.ms/dotnet/beginnervideos/repo
Chapters:
00:00 - Intro
00:26 - Define an event handler
04:10 - Handling events from web UI elements
09:28 - Handling events from custom components
13:41 - Passing content to a button element
16:20 - Additional attributes
Series:
1 - What is Blazor? - https://youtu.be/sIIfnGqEIds
2 - Build and run your first Blazor web app - https://youtu.be/llDc88XE--Q
3 - Introducing Blazor Components - https://youtu.be/sbXzifvMKXE
4 - Pages, Routing, and Layouts in Blazor - https://youtu.be/TKDo_hEGPJ0
5 - Blazor Web App Project Structure - https://youtu.be/JcOAtSU-jJ0
6 - Handling UI Events in Blazor Web Apps - https://youtu.be/U1H72rASN6I
7 - Data Binding in Blazor Web Apps - https://youtu.be/HfW9J6CXKZc
8 - Blazor Component Render Modes - https://youtu.be/HZAdXx7-PnM
9 - Work with Data in Blazor - https://youtu.be/ZN-CcfEY3Z8
10 - Forms & Validation in Blazor Web Apps - https://youtu.be/s_XFsK9i4Bc
Learn more:
Blazor event handling: https://learn.microsoft.com/aspnet/core/blazor/components/event-handling
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋♀️Q&A: https://aka.ms/dotnet-qa
👨🎓Microsoft Learn: https://aka.ms/learndotnet
#dotnet #blazor #web #frontend #vscode