diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index 2f6b33368a..9b29b4c2a8 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -23,7 +23,7 @@
Just add data-dismiss="alert"
to your close button to automatically give an alert close functionality.
Just add data-dismiss="alert"
to your close button to automatically give an alert close functionality. Closing an alert removes it from the DOM.
To have your alerts use animation when closing, make sure they have the .fade
and .in
class already applied to them.
To have your alerts use animation when closing, make sure they have the .fade
and .in
classes already applied to them.
Makes an alert listen for click events on descendant elements which have the data-dismiss="alert"
attribute. (Not necessary when using the data-api's auto-initialization.)
Closes an alert.
+Closes an alert by removing it from the DOM. If the .fade
and .in
classes are present on the element, the alert will fade out before it is removed.