File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,19 @@ calculating the animation:
104104#### Arguments
105105
106106 - ` startProps ` (_ Object_ ): The start properties for the animation.<br >
107+
107108 ``` javascript
108109 // `startProps` example
109110 { ' margin-left' : ' 0px' , opacity: 0 }
110111 ```
112+
111113 - ` endProps` (_Object_): The end properties for the animation.< br>
114+
112115 ` ` ` javascript
113116 // ` endProps` example
114117 { 'margin-left': '250px', opacity: 1 }
115118 ` ` `
119+
116120 - ` options` (_Object_, optional): Animation options with these properties:
117121 - ` precision` (_Number_, optional, defaults to ` 3` ) Specifies the number of decimals in the rounding of interpolated values.
118122 - ` preset` (_String_, optional): Presets for ` stiffness` and ` damping` , overriding any stiffness and damping values given . Available presets:
@@ -146,6 +150,7 @@ This method takes the return value of `spring` and converts it to a css string.
146150
147151 - ` keyframes` (_Object_): The interpolated animation values object given by ` spring` .
148152 - ` formatter` (_Function_, optional): The formatter function that is invoked for every property/value combination.
153+
149154 ```javascript
150155 // default formatter
151156 (property , value ) => `${property}: ${value};`
You can’t perform that action at this time.
0 commit comments