Router

Execute javascript based on routes.

var pageOnLoad = function() { //Do something }; //pageOnLoad will be executed every time 'page' loads new Pixogo('content', { 'page': { onLoad: pageOnLoad } });

Page Transition

Add transition between page changes.

/* Simple fade in, fade out transition */ .page-enter-active, .page-leave-active { transition-property: opacity; transition-duration: .1s } .page-enter-active { transition-delay: .1s } .page-leave-active { opacity: 0 } /* .page-enter-active and .page-leave-active classes are automatically added on the content wrapper. You just need to define the transition. */

Active Links

Style active links.

/* Make clicked link orange */ .link-active { color: orange; } /* .link-active class is automatically added to the active links. You just need to define the style for it. */