Bootbox provides three functions,
dialog, which you can use to create your own custom dialogs.
Tests are run using Karma using the Mocha test adapter. To run the tests yourself, simply run
npm install within the project followed by
npm test. Please note that this will require PhantomJS being installed and in your path – if it is not, you may run the tests and capture browsers manually by running
karma start from the root of the project.
Bootbox is a wrapper around Bootstrap’s modal functionality, so you need to include the libraries in order:
- Bootbox Locales
Ready to get started? Please see here for full usage instructions.
If you want to refresh your knowledge on Bootstrap, check our blog. Way to go!