Created
January 14, 2017 00:48
-
-
Save sreedhar7/5d199638fc6ee4412bad8691b66ea435 to your computer and use it in GitHub Desktop.
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
// 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