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.

14 lines (13 loc) 668 B
import type { IGradient, IGradientColor, IGradientColorOpacity } from "../../Core"; import type { IAnimatable } from "./IAnimatable"; import type { IAnimatableColor } from "./IAnimatableColor"; import type { IAnimation } from "./IAnimation"; import type { StartValueType } from "../../Enums"; export interface IGradientColorOpacityAnimation extends IAnimation { startValue: StartValueType | keyof typeof StartValueType; } export interface IAnimatableGradientColor extends IGradientColor { value: IAnimatableColor; opacity?: (IGradientColorOpacity & IAnimatable<IGradientColorOpacityAnimation>) | number; } export declare type IOptionsGradient = IGradient;