tsparticles
Version:
Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
19 lines (18 loc) • 391 B
JavaScript
import { LinkInstance } from "./LinkInstance";
class LinksPlugin {
constructor() {
this.id = "links";
}
getPlugin(container) {
return new LinkInstance(container);
}
needsPlugin() {
return true;
}
loadOptions() {
}
}
export async function loadPlugin(engine) {
const plugin = new LinksPlugin();
await engine.addPlugin(plugin);
}