Skip to content

Commit fe4c651

Browse files
committed
.show()/.hide()/.toggle(): duration is required when providing an easing.
1 parent 0fd087a commit fe4c651

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

entries/hide.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
</signature>
1717
<signature>
1818
<added>1.4.3</added>
19-
<xi:include href="../includes/duration-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
19+
<!-- doesn't use the include because duration is required for this signature -->
20+
<argument name="duration" default="400">
21+
<desc>A string or number determining how long the animation will run.</desc>
22+
<type name="Number"/>
23+
<type name="String"/>
24+
</argument>
2025
<xi:include href="../includes/easing-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
2126
<xi:include href="../includes/complete-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
2227
</signature>

entries/show.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
</signature>
1717
<signature>
1818
<added>1.4.3</added>
19-
<xi:include href="../includes/duration-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
19+
<!-- doesn't use the include because duration is required for this signature -->
20+
<argument name="duration" default="400">
21+
<desc>A string or number determining how long the animation will run.</desc>
22+
<type name="Number"/>
23+
<type name="String"/>
24+
</argument>
2025
<xi:include href="../includes/easing-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
2126
<xi:include href="../includes/complete-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
2227
</signature>

entries/toggle.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
</signature>
1414
<signature>
1515
<added>1.4.3</added>
16-
<xi:include href="../includes/duration-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
16+
<!-- doesn't use the include because duration is required for this signature -->
17+
<argument name="duration" default="400">
18+
<desc>A string or number determining how long the animation will run.</desc>
19+
<type name="Number"/>
20+
<type name="String"/>
21+
</argument>
1722
<xi:include href="../includes/easing-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
1823
<xi:include href="../includes/complete-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
1924
</signature>

0 commit comments

Comments
 (0)