Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (24 sloc) 1.07 kb
ed0f5ae @scottgonzalez Updated easing and duration arguments in animation methods.
scottgonzalez authored
1 <?xml version="1.0"?>
2 <signature>
3 <argument name="options" type="Object">
4 <desc>All animation settings. The only required property is <code>effect</code>.</desc>
5 <property name="effect" type="String">
6 <desc>A string indicating which <a href="/category/effect/">effect</a> to use for the transition.</desc>
7 </property>
8 <property name="easing" type="String" default='"swing"'>
9 <desc>A string indicating which <a href="/easings/">easing</a> function to use for the transition.</desc>
10 </property>
11 <property name="duration" default="400">
12 <desc>A string or number determining how long the animation will run.</desc>
13 <type name="Number">
14 <desc>The duration in milliseconds.</desc>
15 </type>
16 <type name="String">
17 <desc>The strings <code>"fast"</code> and <code>"slow"</code> can be supplied to indicate durations of 200 and 600 milliseconds, respectively.</desc>
18 </type>
19 </property>
20 <property name="complete" type="Function">
21 <desc>A function to call once the animation is complete.</desc>
22 </property>
23 </argument>
24 </signature>
Something went wrong with that request. Please try again.