@tsparticles/interaction-external-remove
Advanced tools
Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
import { ExternalInteractorBase, getRangeValue, } from "@tsparticles/engine"; | ||
import { Remove } from "./Options/Classes/Remove.js"; | ||
const removeMode = "remove"; | ||
export class Remover extends ExternalInteractorBase { | ||
@@ -8,3 +9,3 @@ constructor(container) { | ||
const container = this.container, options = container.actualOptions; | ||
if (!options.interactivity.modes.remove || mode !== "remove") { | ||
if (!options.interactivity.modes.remove || mode !== removeMode) { | ||
return; | ||
@@ -11,0 +12,0 @@ } |
@@ -6,2 +6,3 @@ "use strict"; | ||
const Remove_js_1 = require("./Options/Classes/Remove.js"); | ||
const removeMode = "remove"; | ||
class Remover extends engine_1.ExternalInteractorBase { | ||
@@ -12,3 +13,3 @@ constructor(container) { | ||
const container = this.container, options = container.actualOptions; | ||
if (!options.interactivity.modes.remove || mode !== "remove") { | ||
if (!options.interactivity.modes.remove || mode !== removeMode) { | ||
return; | ||
@@ -15,0 +16,0 @@ } |
import { ExternalInteractorBase, getRangeValue, } from "@tsparticles/engine"; | ||
import { Remove } from "./Options/Classes/Remove.js"; | ||
const removeMode = "remove"; | ||
export class Remover extends ExternalInteractorBase { | ||
@@ -8,3 +9,3 @@ constructor(container) { | ||
const container = this.container, options = container.actualOptions; | ||
if (!options.interactivity.modes.remove || mode !== "remove") { | ||
if (!options.interactivity.modes.remove || mode !== removeMode) { | ||
return; | ||
@@ -11,0 +12,0 @@ } |
{ | ||
"name": "@tsparticles/interaction-external-remove", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"description": "tsParticles remove external interaction", | ||
@@ -63,3 +63,3 @@ "homepage": "https://particles.js.org", | ||
"canvas-confetti", | ||
"@tsparticles/plugin", | ||
"tsparticles-plugin", | ||
"@tsparticles/interaction" | ||
@@ -91,3 +91,3 @@ ], | ||
"dependencies": { | ||
"@tsparticles/engine": "^3.0.0-beta.3" | ||
"@tsparticles/engine": "^3.0.0-beta.4" | ||
}, | ||
@@ -94,0 +94,0 @@ "publishConfig": { |
@@ -7,3 +7,3 @@ /*! | ||
* How to use? : Check the GitHub README | ||
* v3.0.0-beta.3 | ||
* v3.0.0-beta.4 | ||
*/ | ||
@@ -126,2 +126,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
const removeMode = "remove"; | ||
class Remover extends engine_root_window_.ExternalInteractorBase { | ||
@@ -133,3 +134,3 @@ constructor(container) { | ||
options = container.actualOptions; | ||
if (!options.interactivity.modes.remove || mode !== "remove") { | ||
if (!options.interactivity.modes.remove || mode !== removeMode) { | ||
return; | ||
@@ -136,0 +137,0 @@ } |
@@ -1,1 +0,1 @@ | ||
/*! tsParticles Remove External Interaction v3.0.0-beta.3 by Matteo Bruni */ | ||
/*! tsParticles Remove External Interaction v3.0.0-beta.4 by Matteo Bruni */ |
@@ -15,2 +15,3 @@ (function (factory) { | ||
const Remove_js_1 = require("./Options/Classes/Remove.js"); | ||
const removeMode = "remove"; | ||
class Remover extends engine_1.ExternalInteractorBase { | ||
@@ -21,3 +22,3 @@ constructor(container) { | ||
const container = this.container, options = container.actualOptions; | ||
if (!options.interactivity.modes.remove || mode !== "remove") { | ||
if (!options.interactivity.modes.remove || mode !== removeMode) { | ||
return; | ||
@@ -24,0 +25,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
563
303973