backbone.marionette
Advanced tools
Changelog
v4.1.0 view commit logs
CollectionView#addChildView
now accepts a preventRender
option.el.ownerDocument.documentElement;
by default instead of document.documentElement
for querying, customizable via DomApi.getDocumentEl
.noConflict
for using multiple versions on the global scope.destroy
events.CollectionView
's emptyView
will now respect the childViewContainer
for attachment.Region._setElement
was added for internal use, but may be made public in a future release.Changelog
v4.0.0 view commit logs
The breaking changes are documented in the upgrade guide.
CollectionView
can now render a template in the same fashion of the removed CompositeView
.View#triggers
now passes the originating DOM event object as the final argument of the triggered Mn event.bindRequests
and unbindRequests
API.package.json
on jsnext:main
The documentation structure was overhauled to provide a flow to reading through the docs.
Changelog
v3.5.1 view commit logs
View
entity events set in initialize
were being undelegated if modelEvents
or collectionEvents
were undefined.Changelog
v3.5.0 view commit logs
NextCollectionView
's filter
event now returns the attaching and detached views.unbindEvents
and unbindRequests
can now be called without handlers to remove all handlers from an entity.NextCollectionView
would sometimes prevent existing views from sorting correctly.NextCollectionView
viewFilter
will now be called with the same arguments with underscore or lodash.Changelog
v3.4.4 view commit logs
el
.NextCollectionView
sort order, the add at end performance improvement was removed to prevent edge case errors.NextCollectionView
no longer sorts according to the collection if sortWithCollection
is set to false.NextCollectionView
from a collection don't have a matching model, removing the model no longer throws an error.NextCollectionView
now uses backbone update flags instead of calculating changes for sorting