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.16 kB
import { DestroyType, StartValueType } from "../../../../Enums"; import { AnimationOptions } from "../../AnimationOptions"; import type { IOpacityAnimation } from "../../../Interfaces/Particles/Opacity/IOpacityAnimation"; import type { IOptionLoader } from "../../../Interfaces/IOptionLoader"; import type { RecursivePartial } from "../../../../Types"; /** * @category Options */ export declare class OpacityAnimation extends AnimationOptions implements IOpacityAnimation, IOptionLoader<IOpacityAnimation> { /** * * @deprecated this property is obsolete, please use the new minimumValue */ get opacity_min(): number | undefined; /** * * @deprecated this property is obsolete, please use the new minimumValue * @param value */ set opacity_min(value: number | undefined); /** * @deprecated this property is obsolete, please use the new min/max object in the opacity value */ minimumValue?: number; destroy: DestroyType | keyof typeof DestroyType; startValue: StartValueType | keyof typeof StartValueType; constructor(); load(data?: RecursivePartial<IOpacityAnimation>): void; }