Skip to main content
cngx-src documentation

withRespectReducedMotion

Functioncommon/audiov0.1.0

projects/common/audio/config/audio-config.ts

Description#

Toggle the prefers-reduced-motion mute gate. true by default in the library; pass false to keep audio playing under reduced-motion.

Signature#

withRespectReducedMotion(respect: boolean)

Parameters#

@paramrespectboolean

Returns#

CngxAudioFeature