Event Handling in Razor Components
Learn event handling in Razor components.
Anyone familiar with front-end web development would be familiar with document object model (DOM) events, such as click
, change
, copy
, paste
, etc. Blazor supports all these events, but instead of calling a JavaScript function when such an event gets triggered, Blazor will trigger a C# method.
Get hands-on with 1400+ tech skills courses.