motion
constmotion:object
Defined in: src/anim/motion.ts:24
Global motion toggle/config — disable to make animations snap (respects reduced-motion).
Type Declaration
Section titled “Type Declaration”enabled
Section titled “enabled”Get Signature
Section titled “Get Signature”get enabled():
boolean
Whether continuous ambient animations should run.
Returns
Section titled “Returns”boolean
reset()
Section titled “reset()”reset():
void
Restore the environment-derived default.
Returns
Section titled “Returns”void
set(
value):void
Turn ambient motion on/off at runtime (e.g. an app setting, or a test).
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void