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
How to hook an action once the component has done the job of moving the DOM element?
The text was updated successfully, but these errors were encountered:
ayoubgdah
changed the title
Is there a callback (action) when the render has been done
Is there a callback (action) when the rendering has been done
Feb 17, 2016
@ayoubgdah the DOM relocation happens synchronously during didInsertElement, which is during the Ember run loop's render queue, so if you schedule something on the afterRender queue (e.g. Ember.run.schedule('afterRender', this, this.doMyUsefulThing);), you should be good. Feel free to reopen if that doesn't solve your use case.
How to hook an action once the component has done the job of moving the DOM element?
The text was updated successfully, but these errors were encountered: