A simple modal component for backbone
live version = http://ayxos.github.io/backbone-modal/
using:
- bower (to get deps)
- Grunt (generate index.html/Css files and jade-js converter)
- require
- jade (as template engine)
- jquery
- Backbone
bower install backbone-simple-modal
- *need RequireJs
On your View just init backbone-modal with your extrernal view as argument
var Backbone_modal = require('modal');
var ExternalView = require('apps/WizardExample/views/externalView');
.
.
.
new Backbone_modal(ExternalView);