UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

19 lines (18 loc) 639 B
import type { IMotionReduce } from "../../Interfaces/Motion/IMotionReduce"; import type { IOptionLoader } from "../../Interfaces/IOptionLoader"; import type { RecursivePartial } from "../../../Types"; /** * @category Options */ export declare class MotionReduce implements IMotionReduce, IOptionLoader<IMotionReduce> { /** * Factor used to reduce motion, the higher the value, the higher the motion reduction */ factor: number; /** * Reduces motion settings for users with `prefer-reduced-motion` enabled */ value: boolean; constructor(); load(data?: RecursivePartial<IMotionReduce>): void; }