derickbailey/backbone.marionette — Issue #15: How to Re-bind events after close?
Author: fellars
Created: 2012-01-25 16:19:22+00:00
State: open

When using the RegionManager that shows/closes views, if using the same view and not creating a new one each time, once it gets closed, the close() function will un-bind all events on that view.
But when that view get's re-opened (via RegionManager.show() ), it doesn't rebind everything (i.e. delegateEvents() ), so now events not getting triggered.

Is your practice that a new View gets created each time it gets shown by the region manager? What if you want to keep views intact and just swap them out without re-creating each time? I could overwrite the view.close() function I guess to not unbind/remove ? Any suggestions?