Skip to content

Instantly share code, notes, and snippets.

@felixrieseberg
Created May 14, 2015 18:46
Show Gist options
  • Save felixrieseberg/d75b86f1c92f138131a3 to your computer and use it in GitHub Desktop.
Save felixrieseberg/d75b86f1c92f138131a3 to your computer and use it in GitHub Desktop.
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