UNPKG

@tsparticles/plugin-emitters

Version:

tsParticles emitters plugin

11 lines (10 loc) 530 B
import type { InteractivityEngine, InteractivityPluginManager } from "@tsparticles/plugin-interactivity"; import type { IEmitterShapeGenerator } from "./IEmitterShapeGenerator.js"; import type { ShapeManager } from "./ShapeManager.js"; export type EmittersPluginManager = InteractivityPluginManager & { addEmitterShapeGenerator?: (name: string, shape: IEmitterShapeGenerator) => void; emitterShapeManager?: ShapeManager; }; export type EmittersEngine = InteractivityEngine & { pluginManager: EmittersPluginManager; };