diff --git a/docs/getting-started/customizing.md b/docs/getting-started/customizing.md index e41218b18..337339cfc 100644 --- a/docs/getting-started/customizing.md +++ b/docs/getting-started/customizing.md @@ -153,4 +153,4 @@ setAnimation(dialog, 'dialog.show', { To learn more about creating Web Animations, refer to the documentation for [`Element.animate()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate). -?> Animations respect the users `prefers-reduced-motion` setting. When this setting is enabled, animations will not be played. To disable animations for all users, set `options.duration` to `0`. +?> Animations respect the users `prefers-reduced-motion` setting. When this setting is enabled, animations will not be played. To disable animations for all users, pass in `null` instead of a keyframes/options object.