Introduction
An automation framework to help you build Blazor component libary easier and faster.
✨ Features
Easy and automation build parameters for component
Easy to customize and personalize component building
Easy to build a flexible dynamic component structure
Easy interoption between code and javascript
Modular implementation for automation of component building
Strong extensions and utilities of RenderTreeBuilder
Other automations...
🌈 Component Definition
In
Button.razorfile
In
Button.cscomponent class for full automation features
Use component
🔑 Interoption between C# code and JS
Import modules
Evaluate js string
ℹ️ Logical CSS/Style/Attributes
Logical CSS
Logical Attributes
🌴 RenderTreeBuilder Extensions
Create Element
Create Component
🚸 Component Association
In .razor file
For
List.razorfile be parent component
For
ListItem.razorfile be child ofList.razorcomponent
In RenderTreeBuilder
For
Listcomponent class
For
ListItemcomponent class
Use in blazor
🔯 HtmlHelper
in
.razorfile
Dynamic element attribute
⚔️ Interceptors
You can intercept the lifecycle of component
Define an interceptor
Register interceptor
📘 Installation Guide
Install from
Nuget.org
Register service
📝 Component Library Solution Template
Use ComponentBuilder.Templates to generate a razor component library solution and online demo site
Last updated