UNPKG

tsparticles-engine

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.

17 lines (16 loc) 564 B
import type { AnimationMode } from "../../Enums/Modes/AnimationMode"; import type { RangeValue } from "../../Types/RangeValue"; import type { StartValueType } from "../../Enums/Types/StartValueType"; export interface IAnimation { count: RangeValue; decay: RangeValue; delay: RangeValue; enable: boolean; speed: RangeValue; sync: boolean; } export interface IRangedAnimation extends IAnimation { minimumValue?: number; mode: AnimationMode | keyof typeof AnimationMode; startValue: StartValueType | keyof typeof StartValueType; }