backbone.marionette
Advanced tools
Changelog
v2.4.7 view commit logs
Changelog
v2.4.5 view commit logs
Marionette.View#ui
will now bind events when names are hyphenated.Changelog
v2.4.4 view commit logs
Region#empty
will return the region instance whether or not it has a current view.CollectionView#reorder
will now correctly respect any set filter.childEvents
failing to trigger during showing a view in a region.currentView._parent
if showing the same view in a region.LayoutView#showChildView
new options
argument passed to underlying Region#show
to enable full show
functionality.Object#destroy
.Changelog
v2.4.3 view commit logs
TemplateCache#loadTemplate
accepts empty script-tag templates.childEvents
continue working with views attached manually using Region#attachView
.at
option, the child views are appended to the DOM in the proper order.at
option, the child views are rendered in the proper order even when the CollectionView has a filter.CollectionView#isEmpty
respects a false
return value even when there are no child views.Region#empty
reliably destroys views when called with options.onBeforeShow
as documented.childView
and emptyView
can be pure Backbone.View
classes.childEvents
that reinforces the distinction between child view triggers
and events
.Backbone.View
as the child view within CollectionViews or LayoutViews/Regions.Application
to be initialized with multiple arguments for consistency with earlier releases.render
, destroy
, and dom:refresh
lifecycle events when shown by CollectionViews or LayoutViews/Regions.Changelog
v2.4.2 view commit logs
reorderOnSort
would not reorder back to the original order.$childViewContainer
so that it can be accessed in behaviors.before:show
and show
events are triggered on CollectionView
children.onBeforeAttach
and onAttach
are called for CollectionView
children.triggerBeforeAttach
and triggerAttach
via show()
options.buffer
argument to attachBuffer
and changed implementation so this was used rather than _createBuffer
.CollectionView
by making the checkEmpty
call optional.CollectionView
.CollectionView
or CompositeView
if reorderOnSort
is not set.Changelog
v2.4.1 view commit logs
reorderOnSort
when used on a CompositeView
would not respect the childViewContainer
.