Quick Start
Only 2 steps to create automation component
Installation
Install-Package ComponentBuilderusing ComponentBuilder;
//...
builder.Services.AddComponentBuilder();
//...Start
Example for .razor file
.razor file@inherits BlazorComponentBase
<span @attributes="AdditionalAttributes"> <!--@attributes is necessary-->
@ChildContent
</span>
@code{
[Parameter] public RenderFragment? ChildContent { get; set; }
[Parameter][CssClass("active")] public bool Active { get; set; }
}In Element.cs class
Element.cs classLast updated