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.
19 lines (18 loc) • 584 B
TypeScript
import type { ICoordinates } from "../../Core";
import type { IParticles } from "./Particles/IParticles";
import type { RecursivePartial } from "../../Types";
/**
* Manual particles options
* [[include:Options/ManualParticles.md]]
* @category options
*/
export interface IManualParticle {
/**
* Particle position in canvas size percent, if undefined a random position will be used
*/
position?: ICoordinates;
/**
* Particle options, this properties will override the general particles configuration
*/
options?: RecursivePartial<IParticles>;
}