From: Manuel Carrasco MoƱino Date: Fri, 1 Nov 2013 12:54:47 +0000 (+0100) Subject: javadoc X-Git-Tag: release-1.4.0~36^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ea5be684694c6b7705b28dc72e590b2fbe5b59a;p=gwtquery.git javadoc --- 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) {