Provides a transition that will shake and return a given number of times and return to the original value.
myElement.set('morph', { transition: Fx.Transitions.shake(2) });
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.
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