|
4 | 4 | <desc>Hide the matched elements by fading them to transparent.</desc> |
5 | 5 | <signature> |
6 | 6 | <added>1.0</added> |
7 | | - <argument name="duration" type="String,Number" optional="true"> |
8 | | - <desc>A string or number determining how long the animation will run.</desc> |
9 | | - </argument> |
10 | | - <argument name="callback" type="Callback" optional="true"> |
11 | | - <desc>A function to call once the animation is complete.</desc> |
12 | | - </argument> |
| 7 | + <xi:include href="../includes/duration-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
| 8 | + <xi:include href="../includes/complete-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
13 | 9 | </signature> |
14 | 10 | <signature> |
15 | 11 | <added>1.0</added> |
16 | | - <argument name="options" type="PlainObject"> |
17 | | - <desc>A map of additional options to pass to the method.</desc> |
18 | | - </argument> |
| 12 | + <xi:include href="../includes/options-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
19 | 13 | </signature> |
20 | 14 | <signature> |
21 | 15 | <added>1.4.3</added> |
22 | | - <argument name="duration" type="String,Number" optional="true"> |
23 | | - <desc>A string or number determining how long the animation will run.</desc> |
24 | | - </argument> |
25 | | - <argument name="easing" type="String" optional="true"> |
26 | | - <desc>A string indicating which easing function to use for the transition.</desc> |
27 | | - </argument> |
28 | | - <argument name="callback" type="Callback" optional="true"> |
29 | | - <desc>A function to call once the animation is complete.</desc> |
30 | | - </argument> |
| 16 | + <xi:include href="../includes/duration-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
| 17 | + <xi:include href="../includes/easing-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
| 18 | + <xi:include href="../includes/complete-argument.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
31 | 19 | </signature> |
32 | 20 |
|
33 | | - <options> |
34 | | - <option name="duration" type="Number|String" default="400"> |
35 | | - <desc>A string or number determining how long the animation will run.</desc> |
36 | | - </option> |
37 | | - <option name="easing" type="String" default="swing"> |
38 | | - <desc>A string indicating which easing function to use for the transition.</desc> |
39 | | - </option> |
40 | | - <option name="complete" type="Function"> |
41 | | - <desc>A function to call once the animation is complete.</desc> |
42 | | - <!-- no parameters --> |
43 | | - </option> |
44 | | - <option name="step" type="Function"> |
45 | | - <desc>A function to be called after each step of the animation.</desc> |
46 | | - <argument name="now" type="Number"> |
47 | | - <desc>The numeric value of the property being animated at each step</desc> |
48 | | - </argument> |
49 | | - <argument name="fx" type="PlainObject"> |
50 | | - <desc>A map of properties related to the animation and the element being animated</desc> |
51 | | - <property name="elem" type="DOM"> |
52 | | - <desc>The animated element</desc> |
53 | | - </property> |
54 | | - <property name="start" type="Number"> |
55 | | - <desc>The first value of the animated property</desc> |
56 | | - </property> |
57 | | - <property name="end" type="Number"> |
58 | | - <desc>The last value of the animated property</desc> |
59 | | - </property> |
60 | | - <property name="prop" type="String"> |
61 | | - <desc>The property being animated</desc> |
62 | | - </property> |
63 | | - </argument> |
64 | | - </option> |
65 | | - <option name="queue" type="Boolean" default="true"> |
66 | | - <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> |
67 | | - </option> |
68 | | - <option name="specialEasing" type="PlainObject"> |
69 | | - <desc>A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions (added 1.4).</desc> |
70 | | - </option> |
71 | | - </options> |
72 | | - |
73 | 21 | <longdesc> |
74 | 22 | <p>The <code>.fadeOut()</code> method animates the opacity of the matched elements. Once the opacity reaches 0, the <code>display</code> style property is set to <code>none</code>, so the element no longer affects the layout of the page.</p> |
75 | 23 | <p>Durations are given in milliseconds; higher values indicate slower animations, not faster ones. The strings <code>'fast'</code> and <code>'slow'</code> can be supplied to indicate durations of <code>200</code> and <code>600</code> milliseconds, respectively. If any other string is supplied, or if the <code>duration</code> parameter is omitted, the default duration of <code>400</code> milliseconds is used.</p> |
|
0 commit comments