In an Ember view, what's the best way to run code after the rerendering of an internal child view?
问题 I found a lot of questions about how to initialize jQuery plugins with dynamic data etc and usually the answer is that you should use the didInsertElement hook. My problem is that when using ember-data, initially the view is inserted empty and the template vars are filled afterwards through the bindings. Thus in didInsertElement the elements I need are not there. I found a solution that works for me but I think there must be a better solution. In addition to the didInsertElement method I also