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.

30 lines (29 loc) 1.13 kB
import { DestroyType, StartValueType } from "../../../../Enums"; import { AnimationOptions } from "../../AnimationOptions"; import type { IOptionLoader } from "../../../Interfaces/IOptionLoader"; import type { ISizeAnimation } from "../../../Interfaces/Particles/Size/ISizeAnimation"; import type { RecursivePartial } from "../../../../Types"; /** * @category Options */ export declare class SizeAnimation extends AnimationOptions implements ISizeAnimation, IOptionLoader<ISizeAnimation> { /** * * @deprecated this property is obsolete, please use the new minimumValue */ get size_min(): number | undefined; /** * * @deprecated this property is obsolete, please use the new minimumValue * @param value */ set size_min(value: number | undefined); destroy: DestroyType | keyof typeof DestroyType; /** * @deprecated this property is obsolete, please use the new min/max object in the size value */ minimumValue?: number; startValue: StartValueType | keyof typeof StartValueType; constructor(); load(data?: RecursivePartial<ISizeAnimation>): void; }