Class BootstrapComponentBase
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
Bootstrap Blazor 组件基类
public abstract class BootstrapComponentBase : ComponentBase, IComponent, IHandleAfterRender, IHandleEvent
- Inheritance
-
BootstrapComponentBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BootstrapComponentBase()
protected BootstrapComponentBase()
Properties
AdditionalAttributes
获得/设置 用户自定义属性
[Parameter(CaptureUnmatchedValues = true)]
[JsonIgnore]
public IDictionary<string, object>? AdditionalAttributes { get; set; }
Property Value
ErrorLogger
异常捕获组件
[CascadingParameter]
protected IErrorLogger? ErrorLogger { get; set; }
Property Value
IsNotRender
获得/设置 是否需要 Render 组件 默认 false 需要重新渲染组件
protected bool IsNotRender { get; set; }
Property Value
JSRuntime
获得/设置 IJSRuntime 实例
[Inject]
protected IJSRuntime? JSRuntime { get; set; }