A plugin for Backbone.js that simplifies creating modals for your application.
JavaScript CSS CoffeeScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
test
.gitignore
.travis.yml
Gruntfile.coffee
LICENSE
README.md
backbone.marionette.modals-min.js
backbone.marionette.modals.js
backbone.modal-bundled-min.js
backbone.modal-bundled.js
backbone.modal-min.js
backbone.modal.css
backbone.modal.js
backbone.modal.theme.css Fix #77 May 7, 2015
bower.json
package.json

README.md

Backbone.Modal

Build Status

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/

Bundled version

If you're using Backbone and Marionette.

Backbone.Modals.js and Backbone.Marionette.Modals.js separate

If you just want to use the Backbone version without Marionette.

CSS files

There's default style, and you can use our theme to make things look pretty.

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.