UNPKG

@tsparticles/interaction-particles-links

Version:

tsParticles links particles interaction

20 lines (19 loc) 509 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LinksPlugin = void 0; const LinkInstance_js_1 = require("./LinkInstance.js"); class LinksPlugin { constructor(engine) { this.id = "links"; this._engine = engine; } getPlugin(container) { return Promise.resolve(new LinkInstance_js_1.LinkInstance(container, this._engine)); } loadOptions() { } needsPlugin() { return true; } } exports.LinksPlugin = LinksPlugin;