marionette.toolkit
Advanced tools
Changelog
v6.2.0
Changelog
v6.1.0
Features
Component.showIn
now supports passing regionOptions
Fixes
viewEvents
now works if a view is shown during onBeforeShow
Changelog
v6.0.0
Breaking Changes
Component
with a simpler API.
Component
now extends `Marionette.ApplicationremoveView
for show
empty
for a safe destructionregionOptions
setRegion
as a class methodMixinState
is now mixinState
Tooling
Changelog
v5.0.0
Breaking Changes
Toolkit
is no longer attached to Marionette.Toolkit
noConflict
was removedonBeforeStart
without listeners.triggerStart
now calls a finallyStart
method rather than triggerMethod
directly.Features
regionName
and getOptions
for boilerplate reduction.toggleState
for a quick/clean set('foo', !get('foo'))
hasState
for a quick/clean this.getState().has('foo')
stopChildApp
now passes options along this.stopChildApp('appName', { foo: true })
Component
now exposes showView
so that the behavior can be overriddenrestartWithParent
was added to modify the behavior of child apps during restart
Fixes