Skip to content

1681-engine / index / prefersReducedMotion

Function: prefersReducedMotion() ​

ts
function prefersReducedMotion(query?): boolean;

Defined in: src/platform/reducedMotion.ts:26

True when the system asks for reduced motion; false where it cannot be read.

Parameters ​

ParameterType
queryMotionQuery | null

Returns ​

boolean

Released under the MIT License.