tsparticles-interaction-external-push
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0-beta.1
{ | ||
"name": "tsparticles-interaction-external-push", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.0.0-beta.1", | ||
"description": "tsParticles push external interaction", | ||
@@ -5,0 +5,0 @@ "homepage": "https://particles.js.org/", |
@@ -7,3 +7,3 @@ /*! | ||
* How to use? : Check the GitHub README | ||
* v2.0.0-beta.0 | ||
* v2.0.0-beta.1 | ||
*/ | ||
@@ -10,0 +10,0 @@ (function webpackUniversalModuleDefinition(root, factory) { |
@@ -1,2 +0,2 @@ | ||
/*! tsParticles Push External Interaction v2.0.0-beta.0 by Matteo Bruni */ | ||
/*! tsParticles Push External Interaction v2.0.0-beta.1 by Matteo Bruni */ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-engine"));else if("function"==typeof define&&define.amd)define(["tsparticles-engine"],t);else{var r="object"==typeof exports?t(require("tsparticles-engine")):t(e.window);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,(function(e){return(()=>{"use strict";var t={818:t=>{t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{loadExternalPushInteraction:()=>r});var e=o(818);class t extends e.ExternalInteractorBase{constructor(t){super(t),this.handleClickMode=t=>{if(t!==e.ClickMode.push)return;const r=this.container,o=r.actualOptions,n=o.interactivity.modes.push.quantity;if(n<=0)return;const i=o.interactivity.modes.push,s=(0,e.itemFromArray)([void 0,...i.groups]),a=void 0!==s?r.actualOptions.particles.groups[s]:void 0;r.particles.push(n,r.interactivity.mouse,a,s)}}isEnabled(){return!0}reset(){}interact(){}}function r(e){e.addInteractor("externalPush",(e=>new t(e)))}})(),n})()})); |
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