Skip to content

Commit 7ac4819

Browse files
tjvantollkswedberg
authored andcommitted
options-argument.xml: Update queue property to indicate both types it accepts. Resolves #294
1 parent 4678411 commit 7ac4819

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

includes/options-argument.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
<property name="easing" type="String" default="swing">
1010
<desc>A string indicating which easing function to use for the transition.</desc>
1111
</property>
12-
<property name="queue" type="Boolean" default="true">
12+
<property name="queue" default="true">
1313
<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>
14+
<type name="Boolean"/>
15+
<type name="String"/>
1416
</property>
1517
<property name="specialEasing" type="PlainObject" added="1.4">
1618
<desc>A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions.</desc>
@@ -29,7 +31,7 @@
2931
<property name="progress" type="Function" added="1.8">
3032
<desc>A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties.</desc>
3133
<argument name="animation" type="Promise">
32-
<desc>An enhanced Promise oject with additional properties for the animation</desc>
34+
<desc>An enhanced Promise object with additional properties for the animation</desc>
3335
</argument>
3436
<argument name="progress" type="Number">
3537
<desc>A number from 0 to 1 indicating the progress of the animation</desc>
@@ -45,7 +47,7 @@
4547
<property name="done" type="Function" added="1.8">
4648
<desc>A function to be called when the animation completes (its Promise object is resolved).</desc>
4749
<argument name="animation" type="Promise">
48-
<desc>An enhanced Promise oject with additional properties for the animation</desc>
50+
<desc>An enhanced Promise object with additional properties for the animation</desc>
4951
</argument>
5052
<argument name="jumpedToEnd" type="Boolean">
5153
<desc>Indicates whether the animation jumped to the end</desc>
@@ -54,7 +56,7 @@
5456
<property name="fail" type="Function" added="1.8">
5557
<desc>A function to be called when the animation fails to complete (its Promise object is rejected).</desc>
5658
<argument name="animation" type="Promise">
57-
<desc>An enhanced Promise oject with additional properties for the animation</desc>
59+
<desc>An enhanced Promise object with additional properties for the animation</desc>
5860
</argument>
5961
<argument name="jumpedToEnd" type="Boolean">
6062
<desc>Indicates whether the animation jumped to the end</desc>
@@ -63,7 +65,7 @@
6365
<property name="always" type="Function" added="1.8">
6466
<desc>A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected).</desc>
6567
<argument name="animation" type="Promise">
66-
<desc>An enhanced Promise oject with additional properties for the animation</desc>
68+
<desc>An enhanced Promise object with additional properties for the animation</desc>
6769
</argument>
6870
<argument name="jumpedToEnd" type="Boolean">
6971
<desc>Indicates whether the animation jumped to the end</desc>

0 commit comments

Comments
 (0)