forked from jquery/api.jquery.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions-argument.xml
43 lines (43 loc) · 1.97 KB
/
options-argument.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<argument name="options" type="PlainObject">
<desc>A map of additional options to pass to the method.</desc>
<property name="duration" default="400">
<desc>A string or number determining how long the animation will run.</desc>
<type name="Number"/>
<type name="String"/>
</property>
<property name="easing" type="String" default="swing">
<desc>A string indicating which easing function to use for the transition.</desc>
</property>
<property name="complete" type="Function">
<desc>A function to call once the animation is complete.</desc>
<!-- no parameters -->
</property>
<property name="step" type="Function">
<desc>A function to be called after each step of the animation.</desc>
<argument name="now" type="Number">
<desc>The numeric value of the property being animated at each step</desc>
</argument>
<argument name="fx" type="PlainObject">
<desc>A map of properties related to the animation and the element being animated</desc>
<property name="elem" type="DOM">
<desc>The animated element</desc>
</property>
<property name="start" type="Number">
<desc>The first value of the animated property</desc>
</property>
<property name="end" type="Number">
<desc>The last value of the animated property</desc>
</property>
<property name="prop" type="String">
<desc>The property being animated</desc>
</property>
</argument>
</property>
<property name="queue" type="Boolean" default="true">
<desc>A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. <strong>As of jQuery 1.7</strong>, the queue option can also accept a string, in which case the animation is added to the queue represented by that string.</desc>
</property>
<property name="specialEasing" type="PlainObject" added="1.4">
<desc>A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions.</desc>
</property>
</argument>