Skip to content

Commit 12c2631

Browse files
authored
Update morph-utils.md (quasarframework#7535)
1 parent 1156b87 commit 12c2631

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/pages/quasar-utils/morph-utils.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ The function expects one mandatory Object parameter with the following keys:
3131
| from | DOM | - | (**required**) A DOM element or CSS selector or a function returning a DOM element |
3232
| to | DOM | - | Same as "from"; if "to" is missing, then it is assumes that it is the same as "from" |
3333
| onToggle() | Function | - | A synchronous toggle function that will be executed immediately after the state of the initial element is saved. Use a function that toggles the state of the components so that the destination element becomes available. |
34-
| waitFor | Number | 0 | A number, 'transitionend' or a Promise - it will delay animation start for that number of milliseconds, or until a 'transitionend' event is emitted by the destination element, or until the promise is resolved (if the promise is rejected the morphing will abort, but the `toggle function` was already called) |
34+
| waitFor | Number/'transitioned'/Promise | 0 | A number, 'transitionend' or a Promise - it will delay animation start for that number of milliseconds, or until a 'transitionend' event is emitted by the destination element, or until the promise is resolved (if the promise is rejected the morphing will abort, but the `toggle function` was already called) |
3535
| duration | Number | 300 | The duration in milliseconds for the animation |
36-
| easing | String | 'ease-in-out' | the timing function for the animation (CSS easing format) |
36+
| easing | String | 'ease-in-out' | The timing function for the animation (CSS easing format) |
3737
| delay | Number | 0 | The delay in milliseconds for the animation |
3838
| fill | String | 'none' | The fill mode for the animation |
39-
| style | String | - | the extra style to be applied to the morphing element while it is animated (either as string or a CSSStyleDeclaration object) |
39+
| style | String/Object | - | The extra style to be applied to the morphing element while it is animated (either as string or a CSSStyleDeclaration object) |
4040
| classes | String | - | The extra classes to be applied to the morphing element while it is animated (as string) |
4141
| resize | Boolean | *false* | Force resizing instead of the default scaling transformation |
4242
| useCSS | Boolean | *false* | Force use of CSS instead of the Animation API |

0 commit comments

Comments
 (0)