-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
As developers, we try to make our applications as dynamic as possible. For that, we use events. Events are messages sent by an object to indicate that an action has occurred. Razor components can handle many different types of events.
In this chapter, you will learn how to handle different types of events in a Blazor WebAssembly app. You will learn how to use lambda expressions, how to prevent default actions, and how to use both arbitrary parameters and attribute splatting to simplify assigning attributes to components.
The project you create in this chapter will be a Kanban board. Kanban boards visually organize work by priority levels or process stages. Your Kanban board will be composed of three Dropzone components, each representing a different priority. Finally, you will use both arbitrary parameters and attribute splatting to create a component to add new tasks to your Kanban board.
High, mid, low they drift
Arbitrary params weave
Event magic...