Guest User

Untitled

a guest
Jun 15th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   // Attempts to open a section and navigate to a different sub-page.
  2.   var openSection = new OpenSectionTransition(section);
  3.   var changeSubpage = openSection.finished.then(function() {
  4.     // After opening the section, navigate to another sub-page.
  5.     return new ChangeSubpageTransition(subpage);
  6.   }, function() {
  7.     // Apparently openSection was canceled due to another router event; do nothing.
  8.   });
Advertisement
Add Comment
Please, Sign In to add comment