Created
March 10, 2016 08:22
-
-
Save patrickfox/7a34f982f45375dd021b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import Ember from 'ember'; | |
import {announce_view_loaded} from './../helpers/utils'; | |
export default Ember.Route.extend({ | |
renderTemplate(args) { | |
this._super(...args); | |
//this.render('about'); | |
Ember.run.scheduleOnce('afterRender', this, function() { | |
console.log('afterRender'); | |
announce_view_loaded(); | |
}); | |
}, | |
actions: { | |
didTransition: function() { | |
console.log('didTransition'); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment