From 0ea5be684694c6b7705b28dc72e590b2fbe5b59a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Fri, 1 Nov 2013 13:54:47 +0100 Subject: [PATCH] javadoc --- .../client/plugins/effects/PropertiesAnimation.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java index acd2c127..17f46d08 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java @@ -49,8 +49,8 @@ public class PropertiesAnimation extends GQAnimation { /** * This is a collection of most popular curves used in web animations - * implemented using Bezier Curve instead of a different formula per - * animation. + * implemented using the Bezier Curve instead of a different algorithm per + * animation. * * The toString() method returns the string parameter which can be used * for CSS3 transition-timing-function properties, example: @@ -60,6 +60,14 @@ public class PropertiesAnimation extends GQAnimation { transition-timing-function: cubic-bezier(0, 0, 1, 1); * + * + * This enum can be used with customized transitions in this way: + *
+    
+    $("#foo").animate($$("{top:'500px',left:'500px'}"), 400, EasingCurve.custom(.02,.01,.47,1));
+     
+   * 
+ * */ public static enum EasingCurve implements Easing { linear (0, 0, 1, 1) { -- 2.39.5