Sunday, 8 September 2013

Popping out a Backbone View

Popping out a Backbone View

I have a Backbone View rendered. Now i want when i click on a event, my
whole Backbone View pop out and render on a lightbox.
What I am trying to do is:
var ViewerModuleAppView = Backbone.Marionette.ItemView.extend({
//On Initialization of View, this.template =
template_viewer_module.html.
template: template,
events: {
'click #pop_out': 'popout'
},
popout: function(){
//ViewerModuleAppView gets render on a PopOut Window(may
be Lightbox).
}

No comments:

Post a Comment