Fx-Transitions-Shake 0.1
Provides a transition that will shake and return a given number of times and return to the original value.
Details
- Author
- cryptic swarm
- Current version
- 0.1
- GitHub
- CrypticSwarm/Fx-Transitions-Shake
- Downloads
- 2136
- Category
- Effects
- Tags
- Report
- GitHub Issues
How to use
Syntax
myElement.set('morph', { transition: Fx.Transitions.shake(2) });
Arguments
- The number of times to shake.
Note
Fx.Transitions.shake is a function that returns a transition function. Which means you must execute the function to get your transition. You pass Fx.transitions.shake the number of times that you want it to shake.
Discuss
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus