Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weisjohn/bootstrap-simple-prompts
Bootstrap Modals for `alert()` and `confirm()`
https://github.com/weisjohn/bootstrap-simple-prompts
Last synced: about 1 month ago
JSON representation
Bootstrap Modals for `alert()` and `confirm()`
- Host: GitHub
- URL: https://github.com/weisjohn/bootstrap-simple-prompts
- Owner: weisjohn
- License: mit
- Created: 2014-01-15T18:07:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-16T15:20:40.000Z (over 10 years ago)
- Last Synced: 2024-11-11T09:53:12.142Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://weisjohn.github.io/bootstrap-simple-prompts/
- Size: 246 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bootstrap-simple-prompts
========================Bootstrap Modals for `alert()` and `confirm()`. Requires Bootstrap 3.0+ and jQuery. [Demo](http://weisjohn.github.io/bootstrap-simple-prompts/)
## install
`bower install bootstrap-simple-prompts`
## usage
`alert(message, [title])`
`confirm(message, [title], callback)`
## originals
You can access the browser-defined implementation via:
`alert.original(message)`
`confirm.original(message, callback)`
#### credits
Originally, this was a fork of sairam's [bootstrap-prompts](https://github.com/sairam/bootstrap-prompts), but after significant departure, I rewrote it.