Meteor Momentum plugin for animating between routes when using Iron Router.
{{#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'
}
} }
MIT. (c) Percolate Studio, maintained by Tom Coleman (@tmeasday).