tsparticles
Version:
Easily create highly customizable particle 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) • 667 B
TypeScript
import { IGradient, IGradientColor, IGradientColorOpacity } from "../../Core/Interfaces";
import { IAnimatableColor } from "./IAnimatableColor";
import { IAnimatable } from "./IAnimatable";
import { IAnimation } from "./IAnimation";
import { 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;