Does EmberJS have an event that fires after viewing Handlebars?

It puzzled me a bit, but I managed to continue pushing him forward. Unfortunately, the time has come, I really need it.

My question is: Does EmberJS / Handlebars have an event that is fired when the view is updated and visible in the DOM?

I need to use this event to trigger some jQuery files like addClass, sortable, etc. I tried using the Live jQuery plugin, but it does not work with Handlebars. In addition, I assume that the specified event is already somewhere in place, I just can not find it.

+5
source share
1 answer

willInsertElement, didInsertElement willRerender Ember.View? , S.O. jQuery Ember.

https://github.com/emberjs/ember.js/blob/master/packages/ember-views/lib/views/view.js#L1250-1267

/

, Ember.run.next. .: http://jsfiddle.net/ud3323/SsRuX/

+7

All Articles