Skip to content

Instantly share code, notes, and snippets.

@sreedhar7
Created January 14, 2017 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sreedhar7/5d199638fc6ee4412bad8691b66ea435 to your computer and use it in GitHub Desktop.
Save sreedhar7/5d199638fc6ee4412bad8691b66ea435 to your computer and use it in GitHub Desktop.
// Add instrumentation for subsequent navigation start
router.on('willTransition', () => {
rumObj.appTransitionStart();
});
// Add instrumentation for rendering is complete
router.on('didTransition', () => {
Ember.run.scheduleOnce('afterRender', () => {
rumObj.appRenderComplete();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment