Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 1.5 KB

File metadata and controls

59 lines (48 loc) · 1.5 KB

Alert

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

See also:

Example usage

<bootstrap_alert [..]>Message text</bootstrap_alert>

Allowed Attributes

The following attributes can be used inside the tag:

class
Adds this string to the class attribute of the component. If you want to add multiple classes, separate them by a space.
color
Sets the color for this component. See bootstrap's color documentation (link below) for more information.

Allowed Values are

  • default
  • primary
  • secondary
  • success
  • danger
  • warning
  • info
  • light
  • dark
  • white
dismissible
If present or set to any value, the alert will get a dismiss-button. If you set dismissible to fade, the alert will fade out when dismissed.

You can also set this attribute to any no value, in which case it is ignored.

id
Sets the id of the component to this value. See to it, that it is unique.
style
Adds this string to the style attribute of the component. If you want to add multiple css styles, separate them by a semicolon.

Links