Skip to content

Commit c9eb114

Browse files
committed
Add optional="true" to fx argument includes. Fixes #191
1 parent 8237b68 commit c9eb114

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

includes/complete-argument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
2-
<argument name="complete" type="Function">
2+
<argument name="complete" type="Function" optional="true">
33
<desc>A function to call once the animation is complete.</desc>
44
</argument>

includes/duration-argument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<argument name="duration" default="400">
2+
<argument name="duration" default="400" optional="true">
33
<desc>A string or number determining how long the animation will run.</desc>
44
<type name="Number"/>
55
<type name="String"/>

includes/easing-argument.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0"?>
2-
<argument name="easing" type="String" default="swing">
2+
<argument name="easing" type="String" default="swing" optional="true">
33
<desc>A string indicating which easing function to use for the transition.</desc>
44
</argument>

0 commit comments

Comments
 (0)