percolate:momentum-iron-router

v0.7.0Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

momentum-iron-router

Meteor Momentum plugin for animating between routes when using Iron Router.

Usage:

{{#momentum plugin='iron-router' options=transition}}
  {{> yield}}
{{/momentum}}
Template.X.transition = function() { return function(from, to, element) {
  return 'name-of-momentum-plugin';
  
  // or
  
  return {
    with: 'name-of-plugin',
    extra: 'options-for-plugin'
  }
} }