areAnimationsDisabled Type documentation¶
TypeScript declaration¶
import { areAnimationsDisabled } from '@siemens/element-ng/common';Returns: Returns whether animations are disabled via the CSS var. This is either set by an application on low-end devices or in case the device is configured for reduced motion (i.e. @media (prefers-reduced-motion) matches)
areAnimationsDisabled(): boolean
Returns: Returns whether animations are disabled via the CSS var. This is either set by an application on low-end devices or in case the device is configured for reduced motion (i.e. @media (prefers-reduced-motion) matches)
Except where otherwise noted, content on this site is licensed under MIT License.