fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omg
This commit is contained in:
parent
8a5df39045
commit
97dfa0d5a8
3 changed files with 12 additions and 1 deletions
7
test/unit/effects.js
vendored
7
test/unit/effects.js
vendored
|
@ -729,6 +729,13 @@ test("Chain slideToggle out", function() {
|
|||
jQuery('#slidetoggleout div').saveState(jQuery.support.shrinkWrapBlocks).slideToggle('fast').slideToggle('fast',jQuery.checkState);
|
||||
});
|
||||
|
||||
test("Chain fadeToggle in", function() {
|
||||
jQuery('#fadetogglein div').saveState().fadeToggle('fast').fadeToggle('fast',jQuery.checkState);
|
||||
});
|
||||
test("Chain fadeToggle out", function() {
|
||||
jQuery('#fadetoggleout div').saveState().fadeToggle('fast').fadeToggle('fast',jQuery.checkState);
|
||||
});
|
||||
|
||||
test("Chain fadeTo 0.5 1.0 with easing and callback)", function() {
|
||||
jQuery('#fadeto div').saveState().fadeTo('fast',0.5).fadeTo('fast',1.0,'linear',jQuery.checkState);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue