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.
22 lines (21 loc) • 731 B
TypeScript
import type { IMotion } from "../../Interfaces/Motion/IMotion";
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
import { MotionReduce } from "./MotionReduce";
import type { RecursivePartial } from "../../../Types";
/**
* [[include:Options/Motion.md]]
* @category Options
*/
export declare class Motion implements IMotion, IOptionLoader<IMotion> {
/**
* Disables motions for users with `prefer-reduced-motion` enabled
*/
disable: boolean;
/**
* Reduce motion settings for users with `prefer-reduced-motion` enabled
* If [[disable]] is `true` these values will be ignored
*/
reduce: MotionReduce;
constructor();
load(data?: RecursivePartial<IMotion>): void;
}