From de03e271a067b210495fbc4cba5b6b8d41f78874 Mon Sep 17 00:00:00 2001 From: Karl Swedberg Date: Mon, 8 Oct 2012 09:04:10 -0400 Subject: [PATCH 1/3] Add jQuery 1.8 animation option properties --- includes/options-argument.xml | 43 ++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/includes/options-argument.xml b/includes/options-argument.xml index 6d3c3522..c3bcd347 100644 --- a/includes/options-argument.xml +++ b/includes/options-argument.xml @@ -14,7 +14,7 @@ - A function to be called after each step of the animation. + A function to be called after each step of the animation for each animated element and for each animated property. The numeric value of the property being animated at each step @@ -40,4 +40,45 @@ A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. + + + A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. + + An enhanced Promise oject with additional properties for the animation + + + A number from 0 to 1 indicating the progress of the animation + + + A number indicating the remaining number of milliseconds until the end of the animation + + + + A function to be called when the animation completes (its Promise object is resolved). + + An enhanced Promise oject with additional properties for the animation + + + Indicates whether the animation jumped to the end + + + + A function to be called when the animation fails to complete (its Promise object is rejected). + + An enhanced Promise oject with additional properties for the animation + + + Indicates whether the animation jumped to the end + + + + A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). + + An enhanced Promise oject with additional properties for the animation + + + Indicates whether the animation jumped to the end + + + From 4bbedacdd642433bc3c22e29bce1816b3f767eae Mon Sep 17 00:00:00 2001 From: Karl Swedberg Date: Mon, 15 Oct 2012 17:33:58 -0400 Subject: [PATCH 2/3] Clean up options argument include --- includes/options-argument.xml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/includes/options-argument.xml b/includes/options-argument.xml index c3bcd347..15cb33ba 100644 --- a/includes/options-argument.xml +++ b/includes/options-argument.xml @@ -14,24 +14,12 @@ - A function to be called after each step of the animation for each animated element and for each animated property. + A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set. The numeric value of the property being animated at each step - - A map of properties related to the animation and the element being animated - - The animated element - - - The first value of the animated property - - - The last value of the animated property - - - The property being animated - + + An object of properties related to the animation and the element being animated. For information about the tween object and its properties, see jQuery.Tween @@ -50,7 +38,7 @@ A number from 0 to 1 indicating the progress of the animation - A number indicating the remaining number of milliseconds until the end of the animation + A number indicating the remaining number of milliseconds until the scheduled end of the animation From c06c6b6c6b7ffcd9bc1a53217092210e6b037355 Mon Sep 17 00:00:00 2001 From: Karl Swedberg Date: Mon, 15 Oct 2012 17:34:16 -0400 Subject: [PATCH 3/3] Add jQuery.Animation and jQuery.Tween. Work in Progress --- entries/jQuery.Animation.xml | 33 +++++++++++++++++++++++++++++++++ entries/jQuery.Tween.xml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 entries/jQuery.Animation.xml create mode 100644 entries/jQuery.Tween.xml diff --git a/entries/jQuery.Animation.xml b/entries/jQuery.Animation.xml new file mode 100644 index 00000000..a07ff660 --- /dev/null +++ b/entries/jQuery.Animation.xml @@ -0,0 +1,33 @@ + + + jQuery.Animation() + + 1.8 + + + A function, or array of functions, that is called when the Deferred generates progress notifications. + + + + + +

+ The jQuery.Tween function is called internally by .animate(). It is provided mostly for plugin authors to further customize animations. +

+

The jQuery.Tween function returns a Tween object with the following properties:

+
    +
  • elem: The animated DOM element
  • +
  • prop: The property being animated
  • +
  • easing: A string representing the easing being used
  • +
  • start: A number representing the starting value of the tween
  • +
  • now: A number representing the current value of the tween
  • +
  • end: A number representing the ending value of the tween
  • +
  • unit: A string representing the CSS unit for the tween
  • +
  • options: A reference to the animation options object
  • +
  • cur(): A function that reads the current value of the animated property from the element
  • +
+ +
+ + +
diff --git a/entries/jQuery.Tween.xml b/entries/jQuery.Tween.xml new file mode 100644 index 00000000..7f79c625 --- /dev/null +++ b/entries/jQuery.Tween.xml @@ -0,0 +1,33 @@ + + + jQuery.Tween() + + 1.8 + + + A function, or array of functions, that is called when the Deferred generates progress notifications. + + + + + +

+ The jQuery.Tween function is called internally by .animate(). It is provided mostly for plugin authors to further customize animations. +

+

The jQuery.Tween function returns a Tween object with the following properties:

+
    +
  • elem: The animated DOM element
  • +
  • prop: The property being animated
  • +
  • easing: A string representing the easing being used
  • +
  • start: A number representing the starting value of the tween
  • +
  • now: A number representing the current value of the tween
  • +
  • end: A number representing the ending value of the tween
  • +
  • unit: A string representing the CSS unit for the tween
  • +
  • options: A reference to the animation options object
  • +
  • cur(): A function that reads the current value of the animated property from the element
  • +
+ +
+ + +
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy