You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the documentation it seems that none of the events are triggered when the element is already in the the DOM (e.g. generated HTML from server), or am I wrong? Is there any way to have an event triggered in this case? A potential use case I have in mind is that for example jQuery needs to initialize/register something which would usually occur in the render event.
I would be against triggering render or attach since those things have already occurred.. and simply triggering them seem like a hack to get around the actual issue that there is no event.
In the meantime this can be handled however inside the initialize by checking isRendered()
From the documentation it seems that none of the events are triggered when the element is already in the the DOM (e.g. generated HTML from server), or am I wrong? Is there any way to have an event triggered in this case? A potential use case I have in mind is that for example jQuery needs to initialize/register something which would usually occur in the render event.
http://marionettejs.com/docs/master/viewlifecycle.html#views-associated-with-previously-rendered-or-attached-dom
The text was updated successfully, but these errors were encountered: