-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
You can now handle events in your Blazor WebAssembly app and feel comfortable using attribute splatting and arbitrary parameters.
In this chapter, you mastered event handling in Blazor WebAssembly, including EventArgs, lambda expressions for custom arguments, preventing default actions, and using @ref for programmatic focus. You also explored attribute splatting and arbitrary parameters for cleaner component markup.
You created the KanbanBoard project using the Blazor WebAssembly Standalone App project template and added Bootstrap to the project. Next, you added a Dropzone component to the project and used it to create a Kanban board. Finally, you added the ability to add tasks to the Kanban board while demonstrating both attribute splatting and arbitrary parameters.
Now that you know how to handle different types of events in your Blazor WebAssembly app, you can create more responsive applications. And, since you can use a dictionary to pass both explicitly declared attributes...