Create a mixin and use the code in after-render.js
ember generate mixin after-render
To use the mixin in a view, do:
import AfterRender from '../mixins/after-render';
export default Ember.View.extend(AfterRender, {
afterRenderEvent: function() {
// JQuery sauce
}
});
Note:
Since 1.8.0-beta.1 the behaviour has changed. Now the event triggers first in the children and from there it bubbles up to the parent. See: emberjs/ember.js#5639