@tsparticles/interaction-external-remove 3.0.0-beta.2 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v3.0.0-beta.2
7
+ * v3.0.0-beta.4
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -122,13 +122,14 @@ class Remove {
122
122
  ;// CONCATENATED MODULE: ./dist/browser/Remover.js
123
123
 
124
124
 
125
+ const removeMode = "remove";
125
126
  class Remover extends engine_root_window_.ExternalInteractorBase {
126
127
  constructor(container) {
127
128
  super(container);
128
129
  this.handleClickMode = mode => {
129
130
  const container = this.container,
130
131
  options = container.actualOptions;
131
- if (!options.interactivity.modes.remove || mode !== "remove") {
132
+ if (!options.interactivity.modes.remove || mode !== removeMode) {
132
133
  return;
133
134
  }
134
135
  const removeNb = (0,engine_root_window_.getRangeValue)(options.interactivity.modes.remove.quantity);
@@ -1 +1 @@
1
- /*! tsParticles Remove External Interaction v3.0.0-beta.2 by Matteo Bruni */
1
+ /*! tsParticles Remove External Interaction v3.0.0-beta.4 by Matteo Bruni */
package/umd/Remover.js CHANGED
@@ -12,12 +12,13 @@
12
12
  exports.Remover = void 0;
13
13
  const engine_1 = require("@tsparticles/engine");
14
14
  const Remove_js_1 = require("./Options/Classes/Remove.js");
15
+ const removeMode = "remove";
15
16
  class Remover extends engine_1.ExternalInteractorBase {
16
17
  constructor(container) {
17
18
  super(container);
18
19
  this.handleClickMode = (mode) => {
19
20
  const container = this.container, options = container.actualOptions;
20
- if (!options.interactivity.modes.remove || mode !== "remove") {
21
+ if (!options.interactivity.modes.remove || mode !== removeMode) {
21
22
  return;
22
23
  }
23
24
  const removeNb = (0, engine_1.getRangeValue)(options.interactivity.modes.remove.quantity);