Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2.0
-
None
Description
Often when dealing with Blocks and Ajax, you can't rely on a container's afterRender render phase event, since the container itself doesn't render (just blocks or components within the container). This can make it difficult to generate matching JavaScript when that is itself necessary. A kludgey approach involves
delegating to an inner class that implements Renderable, but that is most ugly.
A RenderNotifier mixin could fire a "beginRender" and "afterRender" event from the corresponding phases. A container could add handlers for those phases to handle the events.