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.

18 lines (17 loc) 524 B
import type { DestroyType, StartValueType } from "../../../../Enums"; import type { IAnimation } from "../../IAnimation"; /** * @category Options */ export interface IOpacityAnimation extends IAnimation { /** * @deprecated use the new minimumValue instead */ opacity_min?: number; /** * @deprecated use the new min/max object in opacity value */ minimumValue?: number; destroy: DestroyType | keyof typeof DestroyType; startValue: StartValueType | keyof typeof StartValueType; }