Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Class Animation: Document alternative object hash based signature. Fixes
#101 - Document children option for class animation methods.
- Loading branch information
1 parent
4f69c59
commit b26f292
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<argument name="options" type="Object" optional="true"> | ||
<desc>All animation settings. All properties are optional.</desc> | ||
<property name="duration" default="400" optional="true"> | ||
<desc>A string or number determining how long the animation will run.</desc> | ||
<type name="Number"> | ||
<desc>The duration in milliseconds.</desc> | ||
</type> | ||
<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> | ||
</type> | ||
</property> | ||
<property name="easing" type="String" default="swing" optional="true"> | ||
<desc>A string indicating which <a href="/easings/">easing</a> function to use for the transition.</desc> | ||
</property> | ||
<property name="complete" type="Function" optional="true"> | ||
<desc>A function to call once the animation is complete.</desc> | ||
</property> | ||
<property name="children" type="Boolean" default="false"> | ||
<desc>Whether the animation should additionally be applied to all descendants of the matched elements. This feature should be used with caution as the cost of determining which descendants to animate can be very expensive, and grows linearly with the number of descendants.</desc> | ||
</property> | ||
</argument> |