Skip to content

Instantly share code, notes, and snippets.

@patrickfox
Created March 10, 2016 08:22
Show Gist options
  • Save patrickfox/7a34f982f45375dd021b to your computer and use it in GitHub Desktop.
Save patrickfox/7a34f982f45375dd021b to your computer and use it in GitHub Desktop.
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