BlazorBootstrapComponentBaseId Property

The HTML id of the component. If left empty, a unique id will be generated.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
[ParameterAttribute]
public string? Id { get; set; }

Property Value

String

Remarks

Ensure the id of the component is unique throughout the entire HTML page! It is not enough to have the id be unique within a razor page or set of components, the layout of the page counts as well!

See Also