UNPKG

@tsparticles/interaction-particles-links

Version:

tsParticles links particles interaction

10 lines (9 loc) 402 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadLinksInteraction = loadLinksInteraction; const Linker_js_1 = require("./Linker.js"); async function loadLinksInteraction(engine, refresh = true) { await engine.addInteractor("particlesLinks", async (container) => { return Promise.resolve(new Linker_js_1.Linker(container, engine)); }, refresh); }