On components and views, you run:
function () {
...
}.on('didInsertElement')
In other places, you can schedule a function to be called by the Ember Run loop:
Ember.run.scheduleOnce('afterRender', this, function() {
// Yet more things
});
On components and views, you run:
function () {
...
}.on('didInsertElement')
In other places, you can schedule a function to be called by the Ember Run loop:
Ember.run.scheduleOnce('afterRender', this, function() {
// Yet more things
});