ElectronAnimationSettings
Unofficial
Describes the system-wide animation settings.
Import:
import type { ElectronAnimationSettings } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronAnimationSettingsProperties
| Property | Type | Description | |
|---|---|---|---|
| prefersReducedMotion | boolean | Determines whether the user desires reduced motion based on platform APIs. | |
| scrollAnimationsEnabledBySystem | boolean | Determines on a per-platform basis whether scroll animations (e.g. produced by home/end key) should be enabled. | |
| shouldRenderRichAnimation | boolean | Returns true if rich animations should be rendered. Looks at session type (e.g. remote desktop) and accessibility settings to give guidance for heavy animations. |
Links to this page: