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.
26 lines (25 loc) • 890 B
TypeScript
import type { IOpacity } from "../../../Interfaces/Particles/Opacity/IOpacity";
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
import { OpacityAnimation } from "./OpacityAnimation";
import type { RecursivePartial } from "../../../../Types";
import { ValueWithRandom } from "../../ValueWithRandom";
/**
* [[include:Options/Particles/Opacity.md]]
* @category Options
*/
export declare class Opacity extends ValueWithRandom implements IOpacity, IOptionLoader<IOpacity> {
/**
*
* @deprecated this property is obsolete, please use the new animation
*/
get anim(): OpacityAnimation;
/**
*
* @deprecated this property is obsolete, please use the new animation
* @param value
*/
set anim(value: OpacityAnimation);
animation: OpacityAnimation;
constructor();
load(data?: RecursivePartial<IOpacity>): void;
}