View Source
PetalComponents.Alert
(petal_components v1.9.2)
Summary
Attributes
color
(:string
) - Defaults to "info"
.with_icon
(:boolean
) - adds some icon base classes. Defaults to false
.class
(:any
) - CSS class for parent div. Defaults to ""
.heading
(:string
) - label your heading. Defaults to nil
.label
(:string
) - label your alert. Defaults to nil
.close_button_properties
(:list
) - a list of properties passed to the close button. Defaults to nil
.- Global attributes are accepted.
Slots
Functions
Attributes
color
(:string
) - Defaults to "info"
.with_icon
(:boolean
) - adds some icon base classes. Defaults to false
.class
(:any
) - CSS class for parent div. Defaults to ""
.heading
(:string
) - label your heading. Defaults to nil
.label
(:string
) - label your alert. Defaults to nil
.close_button_properties
(:list
) - a list of properties passed to the close button. Defaults to nil
.- Global attributes are accepted.
Slots