backbone.marionette
backbone.marionette copied to clipboard
The Backbone Framework
It can iterate over the reset event's `previousModels` This prevents a `collection.reset` from removing customly added views. We should also indicate that child view was created from a collection model...
This event is analogous to the region's show event. What it describes is that children were attached to the collection view. Yes, if they weren't already rendered they were rendered,...
Using onRender for a root layout, and onBeforeShow for child layouts, is nice, but the structure of the layouts is hidden in the code and so a newcomer to the...
This is kind of a dup of #2267 but with a proposal to use [Benchmark.js](https://benchmarkjs.com/docs) It could/should be included in the PR checks. Although it might display false reports in...
`triggerMethod` called from a view with the matching method in the same view return the value returned by the method but `triggerMethod` called from a view with the matching method...
[Custom Elements](https://developers.google.com/web/fundamentals/web-components/customelements) are gaining traction as the best way to create interoperable components for web. Ionic, the popular mobile framework, is being rewritten with [custom elements](https://stenciljs.com/). Angular is making Custom...
It would be cool if `showChildView` created a region for you 'on-the-fly,' if it didn't exist. More generally, I would recommend completely get rid of region names and **only** use...
### Description See this fiddle https://jsfiddle.net/hsrkbs8d/ If a view has more than one region and one region's view contains an element with the same selector as another region's selector and...
So, I find myself nesting behaviors (mostly to keep my code DRY). Sadly, while I can do `this.view.triggerMethod` on my parent behavior to reach a nested behavior method1 this method...
@jmeas kicked off an interesting discussion in #2145 w/r/t de-emphasizing regions. @paulfalgout, @tbranyen weighed in with good points as well.