Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Query div height

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
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment