Skip to content

Commit f6f9943

Browse files
committed
fadeTo: change Callback to Function return type and rename to complete
1 parent 2b48de2 commit f6f9943

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entries/fadeTo.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<argument name="opacity" type="Number">
1111
<desc>A number between 0 and 1 denoting the target opacity.</desc>
1212
</argument>
13-
<argument name="callback" type="Callback" optional="true">
13+
<argument name="complete" type="Function" optional="true">
1414
<desc>A function to call once the animation is complete.</desc>
1515
</argument>
1616
</signature>
@@ -25,7 +25,7 @@
2525
<argument name="easing" type="String" optional="true">
2626
<desc>A string indicating which easing function to use for the transition.</desc>
2727
</argument>
28-
<argument name="callback" type="Callback" optional="true">
28+
<argument name="complete" type="Function" optional="true">
2929
<desc>A function to call once the animation is complete.</desc>
3030
</argument>
3131
</signature>
@@ -132,4 +132,4 @@ div { background:blue; }
132132
<category slug="effects/fading"/>
133133
<category slug="version/1.0"/>
134134
<category slug="version/1.4.3"/>
135-
</entry>
135+
</entry>

0 commit comments

Comments
 (0)