Fx.Tween.Toggle 1.0

Extends Fx.Tween to store and execute toggling of the effect.



Details

Author
Ryan Florence
Current version
1.0
GitHub
rpflorence/Fx.Tween.Toggle
Downloads
2455
Category
Effects
Tags
Report
GitHub Issues

Releases


How to use

var myToggle = new Fx.Tween.Toggle('element',{
    property: 'height',
    from: 0,
    to: 300,
    link: 'cancel',
    onToggle: function(){
        // do stuff
    }
}).setIn();

View the MooDoc for usage and examples.


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