Skip to content

niharjyoti333/backbone-bootstrap-commonModal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

backbone-bootstrap-combineModal

This plugin combine backbone and bootstrap How to set up this plugin

1.Include bootstrap.js file

2.define bb.commonModal in your view

define(["jquery", "backbone", "underscore","bb.commonModal"], function ($, Backbone, _,bbModal) {

3.Then call the modalOpen function

            Backbone.commonModal.modalOpen({    
                    whereToAppend: "body",
                    modalId: "offerMoreModal",
                    modalTitle: "your description",
                    allowCancel: true,
                    showFooter: true,
                    cancelText: "cancel",
                    modalBody:  "Your body context"
                
            })       

About

this plugin combine backbone and bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published