AlertViewElement
An AlertViewElement
writes a <div>
element with the role "alert" to the output.
Element and builder
The AlertViewElement
has an equivalent AlertViewElementBuilder
.
A builder can be created using BootstrapViewElements.bootstrap.builders.alert()
factory methods.
AlertViewElement attributes
Attribute | Description | Default |
---|---|---|
|
A |
Not set by default |
|
An aria-label shown for the close icon |
Not set by default |
|
A boolean indicating if the |
False by default |