diff options
author | Manolo Carrasco <manolo@apache.org> | 2014-04-30 07:44:38 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2014-04-30 07:44:38 +0200 |
commit | bb03416b18fc13ca14fea2087285340b138018b1 (patch) | |
tree | d3b68d78da904de4139a00a6b0547dec04b78825 /gwtquery-core/src | |
parent | a69d2be341ad79c5980357fc7475df3cb1cd11af (diff) | |
download | gwtquery-bb03416b18fc13ca14fea2087285340b138018b1.tar.gz gwtquery-bb03416b18fc13ca14fea2087285340b138018b1.zip |
Fix loop
Diffstat (limited to 'gwtquery-core/src')
-rwxr-xr-x | gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java index 7f6ce927..64818c9c 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java @@ -563,6 +563,15 @@ public class Effects extends QueuePlugin<Effects> { } /** + * Toggle the visibility of all matched elements by adjusting their height and firing an optional + * callback after completion. Only the height is adjusted for this animation, causing all matched + * elements to be hidden or shown in a "sliding" manner + */ + public Effects slideToggle(Function... f) { + return as(Effects).slideToggle(Speed.DEFAULT, f); + } + + /** * Toggle the visibility of all matched elements by adjusting their height and * firing an optional callback after completion. Only the height is adjusted * for this animation, causing all matched elements to be hidden or shown in a |