You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple selectors erroneously used `selector)` instead of `selector`.
This has been fixed.
The typos were accidentally introduced during
a mass-replace in gh-1223.
Fixesgh-1228Closesgh-1229
Ref gh-1223
Ref gh-1226
Ref gh-1227
Copy file name to clipboardExpand all lines: entries/animate.xml
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@
45
45
</code></pre>
46
46
<p>To animate the opacity, left offset, and height of the image simultaneously:</p>
47
47
<pre><code>
48
-
$( "#clickme)" ).on( "click", function() {
48
+
$( "#clickme" ).on( "click", function() {
49
49
$( "#book" ).animate({
50
50
opacity: 0.25,
51
51
left: "+=50",
@@ -101,7 +101,7 @@ $( "li" ).animate({
101
101
<p>As of jQuery version 1.4, you can set per-property easing functions within a single <code>.animate()</code> call. In the first version of <code>.animate()</code>, each property can take an array as its value: The first member of the array is the CSS property and the second member is an easing function. If a per-property easing function is not defined for a particular property, it uses the value of the <code>.animate()</code> method's optional easing argument. If the easing argument is not defined, the default <code>swing</code> function is used.</p>
102
102
<p>For example, to simultaneously animate the width and height with the <code>swing</code> easing function and the opacity with the <code>linear</code> easing function:</p>
<p>In the second version of <code>.animate()</code>, the options object can include the <code>specialEasing</code> property, which is itself an object of CSS properties and their corresponding easing functions. For example, to simultaneously animate the width using the <code>linear</code> easing function and the height using the <code>easeOutBounce</code> easing function:</p>
The second button starts a traditional chained animation, where each animation will start once the previous animation on the element has completed.</desc>
<desc>Animates the first div's left property and synchronizes the remaining divs, using the step function to set their left properties at each stage of the animation. </desc>
0 commit comments