You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/index.html
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1497,11 +1497,10 @@ <h3>Markup</h3>
1497
1497
<h3>Methods</h3>
1498
1498
1499
1499
<h4>$().alert()</h4>
1500
-
<p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code>and <code>.in</code> class already applied to them.</p>
1500
+
<p>Makes an alert listen for click events on descendant elements which have the <code>data-dismiss="alert"</code>attribute. (Not necessary when using the data-api's auto-initialization.)</p>
<p>Closes an alert by removing it from the DOM. If the <code>.fade</code> and <code>.in</code> classes are present on the element, the alert will fade out before it is removed.</p>
0 commit comments