aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2014-04-30 07:44:38 +0200
committerManolo Carrasco <manolo@apache.org>2014-04-30 07:44:38 +0200
commitbb03416b18fc13ca14fea2087285340b138018b1 (patch)
treed3b68d78da904de4139a00a6b0547dec04b78825 /gwtquery-core/src
parenta69d2be341ad79c5980357fc7475df3cb1cd11af (diff)
downloadgwtquery-bb03416b18fc13ca14fea2087285340b138018b1.tar.gz
gwtquery-bb03416b18fc13ca14fea2087285340b138018b1.zip
Fix loop
Diffstat (limited to 'gwtquery-core/src')
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java9
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