Closed sjohnsonaz closed 9 years ago
Container.destroyChild
will now call Widget.destroy
on children created by a Template
when the Widget
is accessible by element.$controller
.
Container.createChild
now sets Widget.parent
property when the Widget
is created by a Template
.
If the Widget
is set as the destination for all of its BindingHandlers
, Widget.destroy
will property call BindingHandler.destroy
.
When a
Template
is created, it will likely also createBindingHandlers
. These may not be destroyed when theForEachBinding
is manipulated.Templates
may also generateWidgets
. These should correctly set theWidget.parent
property.