- 条形码组件使用
js
生成,配置参考barcode.js
@inherits BaseComponent
<KBarcode Value="1234567890" />
class Test : BaseComponent
{
protected override void BuildRender(RenderTreeBuilder builder)
{
builder.Component<KBarcode>()
.Set(c => c.Value, "1234567890")
.Build();
}
}