Skip to main content
cngx-src documentation

CNGX_MOTION

Tokenv0.1.0

InjectionToken<WritableSignal<CngxMotionPreference>>

Description#

Holds the app-wide motion preference as a WritableSignal. Read it (and write it at runtime) through injectMotion; install the root reflector with provideMotion. Defaults to auto when no provideMotion() is present so an injected signal is always available.

Type#

InjectionToken<WritableSignal<CngxMotionPreference>>

Provided in#

'root'