From: Manuel Carrasco MoƱino Date: Mon, 4 Nov 2013 13:20:52 +0000 (+0100) Subject: Remove transitions method from GQuery X-Git-Tag: release-1.4.0~35^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14e43e67fac3d32b09764966c9f8f809aca385c6;p=gwtquery.git Remove transitions method from GQuery --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index a5cb1a59..270ad1cc 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -4359,41 +4359,6 @@ public class GQuery implements Lazy { return toString(false); } - /** - * The transition() method allows you to create animation effects on any numeric HTML Attribute, - * CSS property, or color using CSS3 transformations and transitions. - * - * It works similar to animate(), and support chainning and queueing. - * - * Example: - * $("#foo").transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, EasingCurve.easeInBack); - * - * $("#bar") - * .transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, EasingCurve.easeInBack) - * .transition("{x: +100, width: +40px}", 2000, EasingCurve.easeOut); - * - */ - public GQuery transition(Object stringOrProperties, int duration, Easing easing, Function... funcs) { - return transition(stringOrProperties, duration, 0, easing, funcs); - } - - /** - * The transition() method allows you to create animation effects on any numeric HTML Attribute, - * CSS property, or color using CSS3 transformations and transitions. - * - * It works similar to animate() but has an extra parameter for delaying the animation, so as - * we dont have to use GQuery queue system for delaying executions, nor callbacks for firing more - * animations - * - * Example animate an element within 2 seconds: - * $("#foo") - * .transition("{ opacity: 0.1, scale: 2, x: 50, y: 50 }", 5000, 2000, EasingCurve.easeInBack); - * - */ - public GQuery transition(Object stringOrProperties, int duration, int delay, Easing easing, Function... funcs) { - return as(Transitions.Transitions).transition(stringOrProperties, duration, easing, delay, funcs); - } - /** * Produces a string representation of the matched elements. */