UNPKG

@tsparticles/interaction-external-bubble

Version:

tsParticles bubble external interaction

15 lines (14 loc) 660 B
import { assertValidVersion } from "@tsparticles/engine"; import { Bubbler } from "./Bubbler.js"; export async function loadExternalBubbleInteraction(engine, refresh = true) { assertValidVersion(engine, "3.7.1"); await engine.addInteractor("externalBubble", container => { return Promise.resolve(new Bubbler(container, engine)); }, refresh); } export * from "./Options/Classes/BubbleBase.js"; export * from "./Options/Classes/BubbleDiv.js"; export * from "./Options/Classes/Bubble.js"; export * from "./Options/Interfaces/IBubbleBase.js"; export * from "./Options/Interfaces/IBubbleDiv.js"; export * from "./Options/Interfaces/IBubble.js";