https://github.com/mariomka/bootstrap-auto-dismiss-alert
Simple plugin to auto dismiss/close Bootstrap 3.x alerts
https://github.com/mariomka/bootstrap-auto-dismiss-alert
alerts bootstrap
Last synced: 8 months ago
JSON representation
Simple plugin to auto dismiss/close Bootstrap 3.x alerts
- Host: GitHub
- URL: https://github.com/mariomka/bootstrap-auto-dismiss-alert
- Owner: mariomka
- License: mit
- Archived: true
- Created: 2016-11-14T13:06:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-22T14:36:36.000Z (almost 9 years ago)
- Last Synced: 2025-10-06T13:35:47.280Z (9 months ago)
- Topics: alerts, bootstrap
- Language: HTML
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bootstrap auto dismiss alerts
### Simple plugin to auto dismiss/close Bootstrap 3.x alert
## Usage
Add `data-auto-dismiss` attribute to alert component.
```html
×
Warning! Better check yourself, you're not looking too good.
```
### Set custom timeout
By default timeout is 5000ms, it can be overridden.
```html
Example
```
## Events
Bootstrap events are triggered since Bootstrap dismiss alert functionality is used. [Bootstrap Alerts Javascript Documentation](http://getbootstrap.com/javascript/#alerts)