diff options
author | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-11-01 13:54:47 +0100 |
---|---|---|
committer | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-11-01 13:54:47 +0100 |
commit | 0ea5be684694c6b7705b28dc72e590b2fbe5b59a (patch) | |
tree | ad4a2d9a61adf6f209de6855fa9c598d15c6ebf7 | |
parent | 658a538299022a645603178a74312438d7d379e7 (diff) | |
download | gwtquery-0ea5be684694c6b7705b28dc72e590b2fbe5b59a.tar.gz gwtquery-0ea5be684694c6b7705b28dc72e590b2fbe5b59a.zip |
javadoc
-rwxr-xr-x | gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java | 12 |
1 files 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); * </pre> + * + * This enum can be used with customized transitions in this way: + * <pre> + + $("#foo").animate($$("{top:'500px',left:'500px'}"), 400, EasingCurve.custom(.02,.01,.47,1)); + + * </pre> + * */ public static enum EasingCurve implements Easing { linear (0, 0, 1, 1) { |