Skip to content

ElectronAnimationSettings

Unofficial

Describes the system-wide animation settings.

Import:

import type { ElectronAnimationSettings } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronAnimationSettings

Properties

PropertyTypeDescription
prefersReducedMotionbooleanDetermines whether the user desires reduced motion based on platform APIs.
scrollAnimationsEnabledBySystembooleanDetermines on a per-platform basis whether scroll animations (e.g. produced by home/end key) should be enabled.
shouldRenderRichAnimationbooleanReturns 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: