Last active
December 15, 2015 12:28
-
-
Save TRMW/5260179 to your computer and use it in GitHub Desktop.
Update Ember.CollectionView after collection is rerendered
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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