Created
October 15, 2014 11:51
-
-
Save Ajeey/7c542109075dfc0ec923 to your computer and use it in GitHub Desktop.
Ember View
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
Ember.View.reopen({ | |
didInsertElement : function(){ | |
this._super(); | |
Ember.run.scheduleOnce('afterRender', this, this.afterRenderEvent); | |
}, | |
afterRenderEvent : function(){ | |
// implement this hook in your own subclasses and run your jQuery logic there | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment