Skip to content

Instantly share code, notes, and snippets.

@TRMW
Last active December 15, 2015 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TRMW/5260179 to your computer and use it in GitHub Desktop.
Save TRMW/5260179 to your computer and use it in GitHub Desktop.
Update Ember.CollectionView after collection is rerendered
contentDidChange: (->
# do updating here
# in this case I needed to ensure that something only happened once, after
# all collection items had rerendered
Ember.run.scheduleOnce 'afterRender', @, @initializeSortable
).observes('content.[]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment