backbone.marionette
Advanced tools
Changelog
v2.1.0 view commit logs
Features
Marionette.Object
initialize
and Backbone.Events
. It is a user friendly class to base your classes on to get Backbone conventions on any generic class.Add a el
reference to the views el
from within a behavior
instance.
ItemView
s can now have no template by setting template: false
Application objects can now configure their default message channel.
Application objects now have the getOption
method.
Regions now have a hasView
method to determine if there is a view within a given region.
Views no longer use toJSON directly on models. Instead they call into the new overridable methods serializeModel
and serializeCollection
via serializeData
Return chainable objects from more methods to be consistent
Application: emptyRegions
Application: removeRegion
CollectionView renderChildView
Controller new
LayoutView destroy
Region reset
Region attachView
Region empty
RegionManager destroy
RegionManager emptyRegions (now returns regions)
RegionManager removeRegions (now returns regions)
RegionManager removeRegion (now returns region)
View destroy
View undelegateEvents
View delegateEvents
RegionManager addRegions
now accepts a function that returns a region definition in addition to a region definition object
regions
propertiesAdded CollectionView resortView
View instance is now passed as a third argument to Marionette.Renderer.render
Add getRegionManager
to Application
Fixes
@ui.stuff
instead of @ui<ANY_CHAR>stuff
Changelog
v2.0.3 view commit logs
Bug Fixes
Fixed an issue where before:show
was not triggered on a view's behavior when shown within a region.
Destroying a view outside of its region will now cause the region to remove its reference to that view.
Changelog
v2.0.2 view commit logs
Fixed issue where render:collection
called before the entire collection and children had been rendered.
General
Changelog
v2.0.0 view commit logs
Changelog
v1.8.8 view commit logs
onShow
was not called on child view behaviors when inside a Collection
or Composite
view.Changelog
v1.8.7 view commit logs
Fixed nasty ui interpolation bug with behaviors.
General
Changelog
v1.8.6 view commit logs
Region.show
now returns the region instance to allow for region operation chaining.
Region.show
triggers the view's native triggerMethod
if it exists. This is to handle the case that triggerMethod is wrapped by a Marionette.Behavior
.
General
Changelog
v2.0.0-pre.1 view commit logs