tie
tsparticles-interaction-external-remove
npm i tsparticles-interaction-external-remove
tie

tsparticles-interaction-external-remove

tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

by Matteo Bruni

2.5.3 (see all)License:MITTypeScript:Built-In
npm i tsparticles-interaction-external-remove
Readme

banner

tsParticles External Remove Interaction

jsDelivr npmjs npmjs GitHub Sponsors

tsParticles interaction plugin for remove effect around mouse or HTML elements.

How to use it

CDN / Vanilla JS / jQuery

The CDN/Vanilla version JS has one required file in vanilla configuration:

Including the tsparticles.interaction.external.remove.min.js file will export the function to load the interaction plugin:

loadExternalRemoveInteraction;

Usage

Once the scripts are loaded you can set up tsParticles and the interaction plugin like this:

loadExternalRemoveInteraction(tsParticles);

tsParticles.load("tsparticles", {
  /* options */
});

ESM / CommonJS

This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:

$ npm install tsparticles-interaction-external-remove

or

$ yarn add tsparticles-interaction-external-remove

Then you need to import it in the app, like this:

const { tsParticles } = require("tsparticles-engine");
const { loadExternalRemoveInteraction } = require("tsparticles-interaction-external-remove");

loadExternalRemoveInteraction(tsParticles);

or

import { tsParticles } from "tsparticles-engine";
import { loadExternalRemoveInteraction } from "tsparticles-interaction-external-remove";

loadExternalRemoveInteraction(tsParticles);

Downloads/wk

13.6K

GitHub Stars

4.4K

LAST COMMIT

9mos ago

MAINTAINERS

2

CONTRIBUTORS

76

OPEN ISSUES

17

OPEN PRs

10
VersionTagPublished
2.5.3
latest
1mo ago
2.0.4
next
8mos ago
2.0.0-beta.5
beta
10mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate