backbone.marionette
backbone.marionette copied to clipboard
The Backbone Framework
This is a simplified version of #1970 Consider this code: ``` javascript var MyLV = Mn.LayoutView.extend({ template: _.template("xyz "), regions: { myRegion: ".my-region" } }); var myLV = new MyLV();...
Repeatedly calling LayoutView.prototype.render will destroy all of the views within the layout's regions, and those regions themselves, and completely re-set the layout's regions. Yikes. That's a lot. I'm not sure...
### Description 1. Having a server-generated html structure of a collection I want to initialize it using a CollectionView with any needed nested views. 2. Because child views are identical...
From #1971 & #3389 it seems that a good clean up for view's regions would be to create those only when needed / accessed. What about stop create regions from...
https://github.com/marionettejs/backbone.marionette/pull/1984 `allowMissingEl` is currently missing from the `v3` documentation. However I think we should deprecate it. Maybe for removal in `v5`? I don't like it much as a solution. I...
Now Marionette has a way to set multiple Renderer logic, it should also add a way to prevent regions to be re-initialized, because some renderer allow morphing the view by...
### Description Kind of tricky but this is the use case: 1. Create a view 2. Manually init a region with a node element as el 3. re-render the view...
### define Application region in runtime as i can see, there is no chance to do it right now, because user can pass to `region` property region class if this...
Currently in v4 if a region is `destroyed` the view the region belongs to will not trigger the `remove:region` event. They are only triggered if `view.removeRegion(name)` is used. All that...
A collectionview renders on `addChildView` and a view renders with `getRegion` in both of these cases we should prevent the render if these items are occurring inside of a `before:render`...