This project was created to add a HTML Banner to our control library that can be used in a Blazor application
A banner is a less common contorl, but on e that is usefull. Since we did not have one in our control library, I tought it would be a good time to add one.
-
Clone this repository
git clone https://github.com/CodingWithDavid/BlazorBanner cd BlazorLightBlazorBannerbox
-
Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions
-
Press F5
I am using the basic Server side Blazor template but the code is the same wither it is Server side or client side.
- Adding and removing style class on click events
- Creating and calling a component
- Adding parameters to the component
- Supporting HTML mark up in a parameter passed to a component.