Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmeasday/transition-helper
https://github.com/tmeasday/transition-helper
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/transition-helper
- Owner: tmeasday
- Created: 2014-05-30T07:54:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-16T22:38:50.000Z (about 10 years ago)
- Last Synced: 2024-10-03T12:42:18.045Z (3 months ago)
- Language: JavaScript
- Size: 155 KB
- Stars: 31
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.