Blazorise Dynamic component
Component used to dynamically build a DOM element based on its name.
API
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
Attributes |
Captures all the custom attribute that are not part of Blazorise component. |
IDictionary<string, object> | null |
ChildContent |
Specifies the content to be rendered inside this Dynamic. |
RenderFragment | null |
ClickPreventDefault |
Set to true if click event need to be prevented. |
bool | false |
ClickStopPropagation |
Set to true if click event need to be prevented from propagation. |
bool | false |
ElementRef |
Gets or sets the element reference. |
ElementReference | null |
TagName |
Gets or sets the name of the element to render. |
string |
Events
Event | Description | Type |
---|---|---|
ElementRefChanged |
Notifies us that the element reference has changed. |
Action<ElementReference> |