Building a Kanban Board Using Events
As developers, we strive 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, we will learn how to handle different types of events in a Blazor WebAssembly app. We will learn how to use lambda expressions and how to prevent default actions. We will also learn how to use both arbitrary parameters and attribute splatting to simplify how we assign attributes to components.
The project that we create in this chapter will be a Kanban board that uses the drag-and-drop API. Kanban boards visually depict work at various stages of a process. Our Kanban board will be comprised of three Dropzone
components, with each one representing a different stage. Finally, we will use arbitrary parameters and attribute splatting to create a component to add new tasks to our Kanban board...