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+45c8d9adb5970d727cceec44a5ed61aea0016e50
[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