Applying a transition effect on page loading.

  1. Build a controller that listens for page transition events and implements an animated guillotine to cover the page change.
                          
  2. CSS for top and bottom of guillotine. Base state is 100% offscreen.
                          
  3. Attach the controller to the body and add the guillotine to the body
                          
  4. Tell HIJAX controller to debounce (delay merging content to allow the 'DigitopiaWillLoadNewPage' triggered animation to complete)
                          

Loading...