GetAnimationSettings Type
Constructors
| Constructor |
Description
|
Full Usage:
GetAnimationSettings(shouldRenderRichAnimation, scrollAnimationsEnabledBySystem, prefersReducedMotion)
Parameters:
bool
-
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.
scrollAnimationsEnabledBySystem : bool
-
Determines on a per-platform basis whether scroll animations (e.g. produced by home/end key) should be enabled.
prefersReducedMotion : bool
-
Determines whether the user desires reduced motion based on platform APIs.
Returns: GetAnimationSettings
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.prefersReducedMotion
|
Determines whether the user desires reduced motion based on platform APIs. |
Full Usage:
this.scrollAnimationsEnabledBySystem
|
Determines on a per-platform basis whether scroll animations (e.g. produced by home/end key) should be enabled. |
Full Usage:
this.shouldRenderRichAnimation
|
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. |
fable-electron-docs-api