tsparticles
Version:
Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.
8 lines (7 loc) • 373 B
TypeScript
import type { Container } from "../Classes/Container";
import type { IOptions } from "./Options/IOptions";
export interface IParticlesJs {
(tagId: string, params: IOptions): Container;
load?: (tagId: string, pathConfigJson: string, callback: (container: Container) => void) => void;
setOnClickHandler?: (callback: EventListenerOrEventListenerObject) => void;
}