MotionGlobalConfig
MotionGlobalConfig is a mutable object for app-wide runtime switches. Set it once during startup;
new animations read the latest values.
import { MotionGlobalConfig } from 'motion-solidjs'
MotionGlobalConfig.skipAnimations = true // run animations instantly (tests, SSR)
MotionGlobalConfig.useManualTiming = true // drive frames yourself for deterministic specs
Fields
| Field | Type | Notes |
|---|---|---|
skipAnimations | boolean | All animations resolve instantly |
useManualTiming | boolean | Disables the shared rAF loop |
instantAnimations | boolean | Force instant on first render |
See also:
MotionConfigfor declarative provider-scoped overrides.