O'Reilly logo

Mastering MeteorJS Application Development by Jebin B V

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animation using MeteorJS packages with Velocity.js

There are a few packages that help us perform animation. In this section, we will see how to perform page transition on every route change. Also, we will see how to animate elements using a MeteorJS package.

Animation packages that support page transitions are mostly router-specific. We will use the ccorcos:transitioner package that is specific to iron-router. Let's resume our animation party.

Create a MeteorJS application, such as AnimationPartyTransition. Add the iron:router and ccorcos:transitioner packages to the application. Remove the hello template-related code totally from the .js and HTML files. We need a layout that will be rendered by iron-router. Add the following layout code to AnimationPartyTransition.html ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required