@tsparticles/interaction-external-push
Advanced tools
Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
import { ExternalInteractorBase, getRangeValue, itemFromArray, } from "@tsparticles/engine"; | ||
import { Push } from "./Options/Classes/Push.js"; | ||
const pushMode = "push"; | ||
export class Pusher extends ExternalInteractorBase { | ||
@@ -7,3 +8,3 @@ constructor(container) { | ||
this.handleClickMode = (mode) => { | ||
if (mode !== "push") { | ||
if (mode !== pushMode) { | ||
return; | ||
@@ -10,0 +11,0 @@ } |
@@ -6,2 +6,3 @@ "use strict"; | ||
const Push_js_1 = require("./Options/Classes/Push.js"); | ||
const pushMode = "push"; | ||
class Pusher extends engine_1.ExternalInteractorBase { | ||
@@ -11,3 +12,3 @@ constructor(container) { | ||
this.handleClickMode = (mode) => { | ||
if (mode !== "push") { | ||
if (mode !== pushMode) { | ||
return; | ||
@@ -14,0 +15,0 @@ } |
import { ExternalInteractorBase, getRangeValue, itemFromArray, } from "@tsparticles/engine"; | ||
import { Push } from "./Options/Classes/Push.js"; | ||
const pushMode = "push"; | ||
export class Pusher extends ExternalInteractorBase { | ||
@@ -7,3 +8,3 @@ constructor(container) { | ||
this.handleClickMode = (mode) => { | ||
if (mode !== "push") { | ||
if (mode !== pushMode) { | ||
return; | ||
@@ -10,0 +11,0 @@ } |
{ | ||
"name": "@tsparticles/interaction-external-push", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"description": "tsParticles push 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 | ||
*/ | ||
@@ -137,2 +137,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
const pushMode = "push"; | ||
class Pusher extends engine_root_window_.ExternalInteractorBase { | ||
@@ -142,3 +143,3 @@ constructor(container) { | ||
this.handleClickMode = mode => { | ||
if (mode !== "push") { | ||
if (mode !== pushMode) { | ||
return; | ||
@@ -145,0 +146,0 @@ } |
@@ -1,1 +0,1 @@ | ||
/*! tsParticles Push External Interaction v3.0.0-beta.3 by Matteo Bruni */ | ||
/*! tsParticles Push External Interaction v3.0.0-beta.4 by Matteo Bruni */ |
@@ -15,2 +15,3 @@ (function (factory) { | ||
const Push_js_1 = require("./Options/Classes/Push.js"); | ||
const pushMode = "push"; | ||
class Pusher extends engine_1.ExternalInteractorBase { | ||
@@ -20,3 +21,3 @@ constructor(container) { | ||
this.handleClickMode = (mode) => { | ||
if (mode !== "push") { | ||
if (mode !== pushMode) { | ||
return; | ||
@@ -23,0 +24,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
659
307428