diff --git a/javascript.html b/javascript.html index 94764df5..b85836b1 100644 --- a/javascript.html +++ b/javascript.html @@ -658,6 +658,25 @@ $('#.tabs').bind('change', function (e) {
$(".alert-message").alert()
Just add a data-alert attribute to your alert messages to automatically give them close functionality.
| Name | +type | +default | +description | +
|---|---|---|---|
| selector | +string | +'.close' | +What selector to target for closing an alert. | +
Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade and .in class already applied to them.