Skip to content

Commit

Permalink
Change of defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
patrycjakalinska committed Jun 28, 2024
1 parent 8f40ca3 commit c24bd8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ keyframe
});
```

- `.duration(durationMs: number)` is the length of the animation (in milliseconds). Defaults to `300`.
- `.duration(durationMs: number)` is the length of the animation (in milliseconds). Defaults to `500`.
- `.delay(durationMs: number)` is the delay before the animation starts (in milliseconds). Defaults to `0`.
- `.reduceMotion(reduceMotion: ReduceMotion)` determines how the animation responds to the device's reduced motion accessibility setting.
- `.withCallback(callback: (finished: boolean) => void)` is the callback that will fire after the animation ends. Sets `finished` to `true` when animation ends without interruptions, and `false` otherwise.
Expand Down

0 comments on commit c24bd8d

Please sign in to comment.