Blazorise Dynamic component

Component used to dynamically build a DOM element based on its name.

API

Parameters

Parameter Description TypeDefault
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.

RenderFragmentnull
ClickPreventDefault

Set to true if click event need to be prevented.

boolfalse
ClickStopPropagation

Set to true if click event need to be prevented from propagation.

boolfalse
ElementRef

Gets or sets the element reference.

ElementReferencenull
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>
On this page