https://github.com/awkward/backbone.modal
A plugin for Backbone.js that simplifies creating modals for your application.
https://github.com/awkward/backbone.modal
Last synced: about 1 year ago
JSON representation
A plugin for Backbone.js that simplifies creating modals for your application.
- Host: GitHub
- URL: https://github.com/awkward/backbone.modal
- Owner: awkward
- License: other
- Created: 2013-03-31T16:14:38.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T01:05:37.000Z (over 8 years ago)
- Last Synced: 2025-03-28T09:03:36.775Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://awkward.github.io/backbone.modal/
- Size: 2.52 MB
- Stars: 361
- Watchers: 20
- Forks: 70
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Backbone.Modal
[](https://travis-ci.org/awkward/backbone.modal)
A plugin for Backbone.js that simplifies creating modals for your application.
Backbone.Modal.js removes boilerplate code and adds default behaviors and interactions. You can create a simple dialog modal or complex wizards with stacked modals on top of each other in a few lines of code.
`bower install backbone-modal`
For a complete overview of the documentation visit: [http://awkward.github.io/backbone.modal/](http://awkward.github.io/backbone.modal/)
#### Bundled version
If you're using Backbone and Marionette.
* [backbone.modal-bundled-min.js](https://raw.githubusercontent.com/awkward/backbone.modal/master/backbone.modal-bundled-min.js)
#### Backbone.Modals.js and Backbone.Marionette.Modals.js separate
If you just want to use the Backbone version without Marionette.
* [backbone.modal-min.js](https://raw.githubusercontent.com/awkward/backbone.modal/master/backbone.modal-min.js)
* [backbone.marionette.modals-min.js](https://raw.githubusercontent.com/awkward/backbone.modal/master/backbone.marionette.modals-min.js)
#### CSS files
There's default style, and you can use our theme to make things look pretty.
* [backbone.modal.css](https://raw.githubusercontent.com/awkward/backbone.modal/master/backbone.modal.css)
* [backbone.modal.theme.css](https://raw.githubusercontent.com/awkward/backbone.modal/master/backbone.modal.theme.css)
### How to contribute
To get started `grunt` to get everything running. If you have any requests, please create an issue. If you're working on something yourself, make a pull request and we'll make sure to check it out to get in into the next release.
### Tests
When you run the project by doing `grunt watch`. This will watch the tests, src and example files. It will open up a browser with the tests on `http://localhost:8000`. When you head over `http://localhost:5000`, it will show the example that's defined in the `Gruntfile.coffee`.
### Legal stuff (MIT License)
Copyright (c) 2017 Awkward.
Distributed under MIT license.