In Emberjs 3.0 I have a loop which renders a number of components. Once all of the components have been rendered I would like to do something but not before.
I have a didInsertElement
handler on the component and that gets fired in response to each of the components rendering but how can the controller know when all of those have fired ?
BTW if this doesn't sound like best practice I do appreciate that but I'm dealing with a pre-existing backend and having to do certain things to accomodate that.
Aucun commentaire:
Enregistrer un commentaire