Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 1.44 KB
<?xml version="1.0"?>
<argument name="options" type="Object">
<desc>All animation settings. The only required property is <code>effect</code>.</desc>
<property name="effect" type="String">
<desc>A string indicating which <a href="/category/effects/">effect</a> to use for the transition.</desc>
<property name="easing" type="String" default='"swing"'>
<desc>A string indicating which <a href="/easings/">easing</a> function to use for the transition.</desc>
<property name="duration" default="400">
<desc>A string or number determining how long the animation will run.</desc>
<type name="Number">
<desc>The duration in milliseconds.</desc>
<type name="String">
<desc>The strings <code>"fast"</code> and <code>"slow"</code> can be supplied to indicate durations of 200 and 600 milliseconds, respectively.</desc>
<property name="complete" type="Function">
<desc>A function to call once the animation is complete, called once per matched element.</desc>
<property name="queue" default="true">
<type name="Boolean"/>
<type name="String"/>
<desc>A Boolean indicating whether to place the animation in the effects queue. If <code>false</code>, the animation will begin immediately. A string can also be provided, in which case the animation is added to the queue represented by that string.</desc>