Skip to main content
cngx-src documentation

withMotion

Functioncore/themingv0.1.0

projects/core/theming/a11y-preferences.ts

Description#

Set the initial motion preference the aggregator installs. Omitting this feature leaves motion at its auto default, which follows the OS prefers-reduced-motion query.

Signature#

withMotion(value: CngxMotionPreference)

Parameters#

Returns#

CngxA11yPrefFeature