Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmeasday/transition-helper


https://github.com/tmeasday/transition-helper

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

transition-helper
=================

**NOTE**: this package is a proof-of-concept. For a fuller-featured package that wraps uihooks in a nice API, we suggest you check out https://atmospherejs.com/percolate/momentum

This is a basic proof-of-concept package that uses the _uihooks for Meteor Devel.

What it gives you is a basic `{{#transition}}` helper -- which if you wrap around an `{{#each}}` or a `{{#if}}` will animate the removal / addition (and eventually movement) of elements using *CSS Transitions*.

Check out the basic-example for a simple usage.

## Important

You **must** have a transition defined for the element on the `.off-screen` -> not `.off-screen` class change. If you don't, there be dragons.