@tsparticles/engine 3.0.0-beta.0 → 3.0.0-beta.1
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.
- package/browser/Core/Canvas.js +4 -4
- package/browser/Core/Container.js +9 -9
- package/browser/Core/Engine.js +6 -6
- package/browser/Core/Particle.js +9 -9
- package/browser/Core/Particles.js +7 -7
- package/browser/Core/Retina.js +2 -2
- package/browser/Core/Utils/Circle.js +3 -3
- package/browser/Core/Utils/EventListeners.js +2 -2
- package/browser/Core/Utils/QuadTree.js +3 -3
- package/browser/Core/Utils/Rectangle.js +2 -2
- package/browser/Core/Utils/Vector.js +1 -1
- package/browser/Core/Utils/Vector3d.js +2 -2
- package/browser/Options/Classes/AnimatableColor.js +3 -3
- package/browser/Options/Classes/AnimationOptions.js +1 -1
- package/browser/Options/Classes/Background/Background.js +1 -1
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
- package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
- package/browser/Options/Classes/ColorAnimation.js +1 -1
- package/browser/Options/Classes/HslAnimation.js +1 -1
- package/browser/Options/Classes/Interactivity/Events/Events.js +5 -5
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
- package/browser/Options/Classes/Interactivity/Interactivity.js +2 -2
- package/browser/Options/Classes/ManualParticle.js +1 -1
- package/browser/Options/Classes/Options.js +10 -10
- package/browser/Options/Classes/OptionsColor.js +1 -1
- package/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
- package/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
- package/browser/Options/Classes/Particles/Collisions/Collisions.js +4 -4
- package/browser/Options/Classes/Particles/Move/Move.js +10 -10
- package/browser/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveAttract.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveTrail.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
- package/browser/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
- package/browser/Options/Classes/Particles/Move/Spin.js +2 -2
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
- package/browser/Options/Classes/Particles/Opacity/Opacity.js +2 -2
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
- package/browser/Options/Classes/Particles/ParticlesOptions.js +12 -12
- package/browser/Options/Classes/Particles/Shadow.js +1 -1
- package/browser/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/browser/Options/Classes/Particles/Size/Size.js +2 -2
- package/browser/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
- package/browser/Options/Classes/Particles/Stroke.js +2 -2
- package/browser/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
- package/browser/Options/Classes/Responsive.js +1 -1
- package/browser/Options/Classes/Theme/Theme.js +2 -2
- package/browser/Options/Classes/ValueWithRandom.js +4 -4
- package/browser/Utils/CanvasUtils.js +1 -1
- package/browser/Utils/ColorUtils.js +2 -2
- package/browser/Utils/HslColorManager.js +2 -2
- package/browser/Utils/NumberUtils.js +2 -2
- package/browser/Utils/OptionsUtils.js +1 -1
- package/browser/Utils/RgbColorManager.js +1 -1
- package/browser/Utils/Utils.js +2 -2
- package/browser/bundle.js +2 -2
- package/browser/export-types.js +97 -97
- package/browser/exports.js +89 -89
- package/browser/index.js +4 -4
- package/browser/init.js +4 -4
- package/browser/package.json +1 -0
- package/cjs/Core/Canvas.js +28 -28
- package/cjs/Core/Container.js +19 -19
- package/cjs/Core/Engine.js +22 -22
- package/cjs/Core/Particle.js +37 -37
- package/cjs/Core/Particles.js +15 -15
- package/cjs/Core/Retina.js +11 -11
- package/cjs/Core/Utils/Circle.js +6 -6
- package/cjs/Core/Utils/EventListeners.js +19 -19
- package/cjs/Core/Utils/QuadTree.js +7 -7
- package/cjs/Core/Utils/Rectangle.js +4 -4
- package/cjs/Core/Utils/Vector.js +2 -2
- package/cjs/Core/Utils/Vector3d.js +4 -4
- package/cjs/Options/Classes/AnimatableColor.js +6 -6
- package/cjs/Options/Classes/AnimationOptions.js +5 -5
- package/cjs/Options/Classes/Background/Background.js +3 -3
- package/cjs/Options/Classes/BackgroundMask/BackgroundMask.js +4 -4
- package/cjs/Options/Classes/BackgroundMask/BackgroundMaskCover.js +3 -3
- package/cjs/Options/Classes/ColorAnimation.js +6 -6
- package/cjs/Options/Classes/HslAnimation.js +4 -4
- package/cjs/Options/Classes/Interactivity/Events/Events.js +12 -12
- package/cjs/Options/Classes/Interactivity/Events/HoverEvent.js +2 -2
- package/cjs/Options/Classes/Interactivity/Interactivity.js +4 -4
- package/cjs/Options/Classes/ManualParticle.js +2 -2
- package/cjs/Options/Classes/Options.js +24 -24
- package/cjs/Options/Classes/OptionsColor.js +2 -2
- package/cjs/Options/Classes/Particles/Bounce/ParticlesBounce.js +3 -3
- package/cjs/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +2 -2
- package/cjs/Options/Classes/Particles/Collisions/Collisions.js +8 -8
- package/cjs/Options/Classes/Particles/Move/Move.js +24 -24
- package/cjs/Options/Classes/Particles/Move/MoveAngle.js +3 -3
- package/cjs/Options/Classes/Particles/Move/MoveAttract.js +2 -2
- package/cjs/Options/Classes/Particles/Move/MoveGravity.js +3 -3
- package/cjs/Options/Classes/Particles/Move/MoveTrail.js +2 -2
- package/cjs/Options/Classes/Particles/Move/MoveTrailFill.js +2 -2
- package/cjs/Options/Classes/Particles/Move/Path/MovePath.js +4 -4
- package/cjs/Options/Classes/Particles/Move/Spin.js +4 -4
- package/cjs/Options/Classes/Particles/Number/ParticlesNumber.js +2 -2
- package/cjs/Options/Classes/Particles/Opacity/Opacity.js +4 -4
- package/cjs/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -2
- package/cjs/Options/Classes/Particles/ParticlesOptions.js +28 -28
- package/cjs/Options/Classes/Particles/Shadow.js +3 -3
- package/cjs/Options/Classes/Particles/Shape/Shape.js +2 -2
- package/cjs/Options/Classes/Particles/Size/Size.js +4 -4
- package/cjs/Options/Classes/Particles/Size/SizeAnimation.js +2 -2
- package/cjs/Options/Classes/Particles/Stroke.js +5 -5
- package/cjs/Options/Classes/Particles/ZIndex/ZIndex.js +2 -2
- package/cjs/Options/Classes/Responsive.js +2 -2
- package/cjs/Options/Classes/Theme/Theme.js +4 -4
- package/cjs/Options/Classes/ValueWithRandom.js +9 -9
- package/cjs/Utils/CanvasUtils.js +2 -2
- package/cjs/Utils/ColorUtils.js +23 -23
- package/cjs/Utils/HslColorManager.js +9 -9
- package/cjs/Utils/NumberUtils.js +10 -10
- package/cjs/Utils/OptionsUtils.js +2 -2
- package/cjs/Utils/RgbColorManager.js +5 -5
- package/cjs/Utils/Utils.js +17 -17
- package/cjs/bundle.js +3 -3
- package/cjs/export-types.js +97 -97
- package/cjs/exports.js +89 -89
- package/cjs/index.js +6 -6
- package/cjs/init.js +8 -8
- package/cjs/package.json +1 -0
- package/esm/Core/Canvas.js +4 -4
- package/esm/Core/Container.js +9 -9
- package/esm/Core/Engine.js +6 -6
- package/esm/Core/Particle.js +9 -9
- package/esm/Core/Particles.js +7 -7
- package/esm/Core/Retina.js +2 -2
- package/esm/Core/Utils/Circle.js +3 -3
- package/esm/Core/Utils/EventListeners.js +2 -2
- package/esm/Core/Utils/QuadTree.js +3 -3
- package/esm/Core/Utils/Rectangle.js +2 -2
- package/esm/Core/Utils/Vector.js +1 -1
- package/esm/Core/Utils/Vector3d.js +2 -2
- package/esm/Options/Classes/AnimatableColor.js +3 -3
- package/esm/Options/Classes/AnimationOptions.js +1 -1
- package/esm/Options/Classes/Background/Background.js +1 -1
- package/esm/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
- package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
- package/esm/Options/Classes/ColorAnimation.js +1 -1
- package/esm/Options/Classes/HslAnimation.js +1 -1
- package/esm/Options/Classes/Interactivity/Events/Events.js +5 -5
- package/esm/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
- package/esm/Options/Classes/Interactivity/Interactivity.js +2 -2
- package/esm/Options/Classes/ManualParticle.js +1 -1
- package/esm/Options/Classes/Options.js +10 -10
- package/esm/Options/Classes/OptionsColor.js +1 -1
- package/esm/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
- package/esm/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
- package/esm/Options/Classes/Particles/Collisions/Collisions.js +4 -4
- package/esm/Options/Classes/Particles/Move/Move.js +10 -10
- package/esm/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveAttract.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveTrail.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
- package/esm/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
- package/esm/Options/Classes/Particles/Move/Spin.js +2 -2
- package/esm/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
- package/esm/Options/Classes/Particles/Opacity/Opacity.js +2 -2
- package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
- package/esm/Options/Classes/Particles/ParticlesOptions.js +12 -12
- package/esm/Options/Classes/Particles/Shadow.js +1 -1
- package/esm/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/esm/Options/Classes/Particles/Size/Size.js +2 -2
- package/esm/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
- package/esm/Options/Classes/Particles/Stroke.js +2 -2
- package/esm/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
- package/esm/Options/Classes/Responsive.js +1 -1
- package/esm/Options/Classes/Theme/Theme.js +2 -2
- package/esm/Options/Classes/ValueWithRandom.js +4 -4
- package/esm/Utils/CanvasUtils.js +1 -1
- package/esm/Utils/ColorUtils.js +2 -2
- package/esm/Utils/HslColorManager.js +2 -2
- package/esm/Utils/NumberUtils.js +2 -2
- package/esm/Utils/OptionsUtils.js +1 -1
- package/esm/Utils/RgbColorManager.js +1 -1
- package/esm/Utils/Utils.js +2 -2
- package/esm/bundle.js +2 -2
- package/esm/export-types.js +97 -97
- package/esm/exports.js +89 -89
- package/esm/index.js +4 -4
- package/esm/init.js +4 -4
- package/esm/package.json +1 -0
- package/package.json +6 -4
- package/report.html +2 -2
- package/tsparticles.engine.js +2 -2
- package/tsparticles.engine.min.js +1 -1
- package/tsparticles.engine.min.js.LICENSE.txt +1 -1
- package/types/Core/Canvas.d.ts +5 -5
- package/types/Core/Container.d.ts +12 -12
- package/types/Core/Engine.d.ts +20 -20
- package/types/Core/Interfaces/Colors.d.ts +2 -2
- package/types/Core/Interfaces/IBubbleParticleData.d.ts +1 -1
- package/types/Core/Interfaces/ICircleBouncer.d.ts +2 -2
- package/types/Core/Interfaces/IColorManager.d.ts +1 -1
- package/types/Core/Interfaces/IContainerInteractivity.d.ts +1 -1
- package/types/Core/Interfaces/IContainerPlugin.d.ts +7 -7
- package/types/Core/Interfaces/ICoordinates.d.ts +2 -2
- package/types/Core/Interfaces/IDimension.d.ts +1 -1
- package/types/Core/Interfaces/IDrawParticleParams.d.ts +6 -6
- package/types/Core/Interfaces/IExternalInteractor.d.ts +7 -7
- package/types/Core/Interfaces/IInteractor.d.ts +8 -8
- package/types/Core/Interfaces/ILoadParams.d.ts +2 -2
- package/types/Core/Interfaces/IMouseData.d.ts +1 -1
- package/types/Core/Interfaces/IMovePathGenerator.d.ts +4 -4
- package/types/Core/Interfaces/IParticle.d.ts +11 -11
- package/types/Core/Interfaces/IParticleHslAnimation.d.ts +1 -1
- package/types/Core/Interfaces/IParticleMover.d.ts +2 -2
- package/types/Core/Interfaces/IParticleRetinaProps.d.ts +1 -1
- package/types/Core/Interfaces/IParticleRoll.d.ts +1 -1
- package/types/Core/Interfaces/IParticleUpdater.d.ts +7 -7
- package/types/Core/Interfaces/IParticleValueAnimation.d.ts +1 -1
- package/types/Core/Interfaces/IParticlesInteractor.d.ts +3 -3
- package/types/Core/Interfaces/IPlugin.d.ts +5 -5
- package/types/Core/Interfaces/IPositionFromSizeParams.d.ts +2 -2
- package/types/Core/Interfaces/IShapeDrawer.d.ts +1 -1
- package/types/Core/Interfaces/IShapeValues.d.ts +2 -2
- package/types/Core/Interfaces/ITrailFillData.d.ts +1 -1
- package/types/Core/Particle.d.ts +21 -21
- package/types/Core/Particles.d.ts +12 -12
- package/types/Core/Retina.d.ts +2 -2
- package/types/Core/Utils/Circle.d.ts +2 -2
- package/types/Core/Utils/EventListeners.d.ts +1 -1
- package/types/Core/Utils/ExternalInteractorBase.d.ts +5 -5
- package/types/Core/Utils/InteractionManager.d.ts +5 -5
- package/types/Core/Utils/ParticlesInteractorBase.d.ts +5 -5
- package/types/Core/Utils/Point.d.ts +2 -2
- package/types/Core/Utils/QuadTree.d.ts +6 -6
- package/types/Core/Utils/Range.d.ts +1 -1
- package/types/Core/Utils/Rectangle.d.ts +3 -3
- package/types/Core/Utils/Vector.d.ts +2 -2
- package/types/Core/Utils/Vector3d.d.ts +1 -1
- package/types/Options/Classes/AnimatableColor.d.ts +6 -6
- package/types/Options/Classes/AnimationOptions.d.ts +6 -6
- package/types/Options/Classes/Background/Background.d.ts +4 -4
- package/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts +4 -4
- package/types/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +4 -4
- package/types/Options/Classes/ColorAnimation.d.ts +4 -4
- package/types/Options/Classes/FullScreen/FullScreen.d.ts +3 -3
- package/types/Options/Classes/HslAnimation.d.ts +4 -4
- package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +5 -5
- package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +6 -6
- package/types/Options/Classes/Interactivity/Events/Events.d.ts +8 -8
- package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +6 -6
- package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +3 -3
- package/types/Options/Classes/Interactivity/Events/ResizeEvent.d.ts +3 -3
- package/types/Options/Classes/Interactivity/Interactivity.d.ts +8 -8
- package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +5 -5
- package/types/Options/Classes/ManualParticle.d.ts +5 -5
- package/types/Options/Classes/Options.d.ts +15 -15
- package/types/Options/Classes/OptionsColor.d.ts +5 -5
- package/types/Options/Classes/Particles/Bounce/ParticlesBounce.d.ts +4 -4
- package/types/Options/Classes/Particles/Bounce/ParticlesBounceFactor.d.ts +1 -1
- package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +8 -8
- package/types/Options/Classes/Particles/Collisions/CollisionsAbsorb.d.ts +3 -3
- package/types/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +3 -3
- package/types/Options/Classes/Particles/Move/Move.d.ts +15 -15
- package/types/Options/Classes/Particles/Move/MoveAngle.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveAttract.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/MoveCenter.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveGravity.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveTrail.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveTrailFill.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/OutModes.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/Path/MovePath.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/Spin.d.ts +5 -5
- package/types/Options/Classes/Particles/Number/ParticlesDensity.d.ts +3 -3
- package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +4 -4
- package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +5 -5
- package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +5 -5
- package/types/Options/Classes/Particles/ParticlesOptions.d.ts +19 -19
- package/types/Options/Classes/Particles/Shadow.d.ts +5 -5
- package/types/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
- package/types/Options/Classes/Particles/Size/Size.d.ts +5 -5
- package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +5 -5
- package/types/Options/Classes/Particles/Stroke.d.ts +5 -5
- package/types/Options/Classes/Particles/ZIndex/ZIndex.d.ts +4 -4
- package/types/Options/Classes/Random.d.ts +3 -3
- package/types/Options/Classes/Responsive.d.ts +5 -5
- package/types/Options/Classes/Theme/Theme.d.ts +5 -5
- package/types/Options/Classes/Theme/ThemeDefault.d.ts +4 -4
- package/types/Options/Classes/ValueWithRandom.d.ts +6 -6
- package/types/Options/Interfaces/Background/IBackground.d.ts +1 -1
- package/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +2 -2
- package/types/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +1 -1
- package/types/Options/Interfaces/IAnimatable.d.ts +1 -1
- package/types/Options/Interfaces/IAnimatableColor.d.ts +3 -3
- package/types/Options/Interfaces/IAnimation.d.ts +3 -3
- package/types/Options/Interfaces/IColorAnimation.d.ts +2 -2
- package/types/Options/Interfaces/IHslAnimation.d.ts +1 -1
- package/types/Options/Interfaces/IManualParticle.d.ts +3 -3
- package/types/Options/Interfaces/IOptionLoader.d.ts +1 -1
- package/types/Options/Interfaces/IOptions.d.ts +11 -11
- package/types/Options/Interfaces/IOptionsColor.d.ts +1 -1
- package/types/Options/Interfaces/IResponsive.d.ts +3 -3
- package/types/Options/Interfaces/IValueWithRandom.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +2 -2
- package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +5 -5
- package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Bounce/IParticlesBounce.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +5 -5
- package/types/Options/Interfaces/Particles/IParticlesOptions.d.ts +15 -15
- package/types/Options/Interfaces/Particles/IShadow.d.ts +2 -2
- package/types/Options/Interfaces/Particles/IStroke.d.ts +4 -4
- package/types/Options/Interfaces/Particles/Move/IMove.d.ts +12 -12
- package/types/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveAttract.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Move/IMoveCenter.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveTrail.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveTrailFill.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IOutModes.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Move/Path/IMovePath.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Size/ISize.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +2 -2
- package/types/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +1 -1
- package/types/Options/Interfaces/Theme/ITheme.d.ts +3 -3
- package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +1 -1
- package/types/Types/CustomEventArgs.d.ts +1 -1
- package/types/Types/CustomEventListener.d.ts +1 -1
- package/types/Types/ISourceOptions.d.ts +2 -2
- package/types/Types/ParticlesGroups.d.ts +1 -1
- package/types/Types/RangeValue.d.ts +1 -1
- package/types/Types/ShapeData.d.ts +2 -2
- package/types/Types/ShapeDrawerFunctions.d.ts +3 -3
- package/types/Utils/CanvasUtils.d.ts +9 -9
- package/types/Utils/ColorUtils.d.ts +6 -6
- package/types/Utils/EventDispatcher.d.ts +2 -2
- package/types/Utils/HslColorManager.d.ts +2 -2
- package/types/Utils/NumberUtils.d.ts +8 -8
- package/types/Utils/OptionsUtils.d.ts +6 -6
- package/types/Utils/RgbColorManager.d.ts +2 -2
- package/types/Utils/Utils.d.ts +12 -12
- package/types/bundle.d.ts +2 -2
- package/types/export-types.d.ts +106 -106
- package/types/exports.d.ts +89 -89
- package/types/index.d.ts +3 -3
- package/types/init.d.ts +1 -1
- package/umd/Core/Canvas.js +29 -29
- package/umd/Core/Container.js +20 -20
- package/umd/Core/Engine.js +23 -23
- package/umd/Core/Particle.js +38 -38
- package/umd/Core/Particles.js +16 -16
- package/umd/Core/Retina.js +12 -12
- package/umd/Core/Utils/Circle.js +7 -7
- package/umd/Core/Utils/EventListeners.js +20 -20
- package/umd/Core/Utils/QuadTree.js +8 -8
- package/umd/Core/Utils/Rectangle.js +5 -5
- package/umd/Core/Utils/Vector.js +3 -3
- package/umd/Core/Utils/Vector3d.js +5 -5
- package/umd/Options/Classes/AnimatableColor.js +7 -7
- package/umd/Options/Classes/AnimationOptions.js +6 -6
- package/umd/Options/Classes/Background/Background.js +4 -4
- package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +5 -5
- package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +4 -4
- package/umd/Options/Classes/ColorAnimation.js +7 -7
- package/umd/Options/Classes/HslAnimation.js +5 -5
- package/umd/Options/Classes/Interactivity/Events/Events.js +13 -13
- package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +3 -3
- package/umd/Options/Classes/Interactivity/Interactivity.js +5 -5
- package/umd/Options/Classes/ManualParticle.js +3 -3
- package/umd/Options/Classes/Options.js +25 -25
- package/umd/Options/Classes/OptionsColor.js +3 -3
- package/umd/Options/Classes/Particles/Bounce/ParticlesBounce.js +4 -4
- package/umd/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +3 -3
- package/umd/Options/Classes/Particles/Collisions/Collisions.js +9 -9
- package/umd/Options/Classes/Particles/Move/Move.js +25 -25
- package/umd/Options/Classes/Particles/Move/MoveAngle.js +4 -4
- package/umd/Options/Classes/Particles/Move/MoveAttract.js +3 -3
- package/umd/Options/Classes/Particles/Move/MoveGravity.js +4 -4
- package/umd/Options/Classes/Particles/Move/MoveTrail.js +3 -3
- package/umd/Options/Classes/Particles/Move/MoveTrailFill.js +3 -3
- package/umd/Options/Classes/Particles/Move/Path/MovePath.js +5 -5
- package/umd/Options/Classes/Particles/Move/Spin.js +5 -5
- package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +3 -3
- package/umd/Options/Classes/Particles/Opacity/Opacity.js +5 -5
- package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +3 -3
- package/umd/Options/Classes/Particles/ParticlesOptions.js +29 -29
- package/umd/Options/Classes/Particles/Shadow.js +4 -4
- package/umd/Options/Classes/Particles/Shape/Shape.js +3 -3
- package/umd/Options/Classes/Particles/Size/Size.js +5 -5
- package/umd/Options/Classes/Particles/Size/SizeAnimation.js +3 -3
- package/umd/Options/Classes/Particles/Stroke.js +6 -6
- package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +3 -3
- package/umd/Options/Classes/Responsive.js +3 -3
- package/umd/Options/Classes/Theme/Theme.js +5 -5
- package/umd/Options/Classes/ValueWithRandom.js +10 -10
- package/umd/Utils/CanvasUtils.js +3 -3
- package/umd/Utils/ColorUtils.js +24 -24
- package/umd/Utils/HslColorManager.js +10 -10
- package/umd/Utils/NumberUtils.js +11 -11
- package/umd/Utils/OptionsUtils.js +3 -3
- package/umd/Utils/RgbColorManager.js +6 -6
- package/umd/Utils/Utils.js +18 -18
- package/umd/bundle.js +4 -4
- package/umd/export-types.js +98 -98
- package/umd/exports.js +90 -90
- package/umd/index.js +7 -7
- package/umd/init.js +9 -9
package/browser/export-types.js
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
export * from "./Core/Interfaces/Colors";
|
|
2
|
-
export * from "./Core/Interfaces/IBounds";
|
|
3
|
-
export * from "./Core/Interfaces/IBubbleParticleData";
|
|
4
|
-
export * from "./Core/Interfaces/ICircleBouncer";
|
|
5
|
-
export * from "./Core/Interfaces/IColorManager";
|
|
6
|
-
export * from "./Core/Interfaces/IContainerInteractivity";
|
|
7
|
-
export * from "./Core/Interfaces/IContainerPlugin";
|
|
8
|
-
export * from "./Core/Interfaces/ICoordinates";
|
|
9
|
-
export * from "./Core/Interfaces/IDelta";
|
|
10
|
-
export * from "./Core/Interfaces/IDimension";
|
|
11
|
-
export * from "./Core/Interfaces/IDistance";
|
|
12
|
-
export * from "./Core/Interfaces/IDrawParticleParams";
|
|
13
|
-
export * from "./Core/Interfaces/IExternalInteractor";
|
|
14
|
-
export * from "./Core/Interfaces/IInteractor";
|
|
15
|
-
export * from "./Core/Interfaces/ILoadParams";
|
|
16
|
-
export * from "./Core/Interfaces/IMouseData";
|
|
17
|
-
export * from "./Core/Interfaces/IMovePathGenerator";
|
|
18
|
-
export * from "./Core/Interfaces/IParticle";
|
|
19
|
-
export * from "./Core/Interfaces/IParticleColorStyle";
|
|
20
|
-
export * from "./Core/Interfaces/IParticleHslAnimation";
|
|
21
|
-
export * from "./Core/Interfaces/IParticleLife";
|
|
22
|
-
export * from "./Core/Interfaces/IParticleMover";
|
|
23
|
-
export * from "./Core/Interfaces/IParticleRetinaProps";
|
|
24
|
-
export * from "./Core/Interfaces/IParticleRoll";
|
|
25
|
-
export * from "./Core/Interfaces/IParticleTransformValues";
|
|
26
|
-
export * from "./Core/Interfaces/IParticleUpdater";
|
|
27
|
-
export * from "./Core/Interfaces/IParticleValueAnimation";
|
|
28
|
-
export * from "./Core/Interfaces/IParticlesInteractor";
|
|
29
|
-
export * from "./Core/Interfaces/IPlugin";
|
|
30
|
-
export * from "./Core/Interfaces/IPositionFromSizeParams";
|
|
31
|
-
export * from "./Core/Interfaces/IRangeValue";
|
|
32
|
-
export * from "./Core/Interfaces/IRectSideResult";
|
|
33
|
-
export * from "./Core/Interfaces/IShapeDrawer";
|
|
34
|
-
export * from "./Core/Interfaces/IShapeValues";
|
|
35
|
-
export * from "./Core/Interfaces/ISlowParticleData";
|
|
36
|
-
export * from "./Core/Interfaces/ITrailFillData";
|
|
37
|
-
export * from "./Options/Interfaces/Background/IBackground";
|
|
38
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
|
39
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
|
40
|
-
export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
|
41
|
-
export * from "./Options/Interfaces/IAnimatable";
|
|
42
|
-
export * from "./Options/Interfaces/IAnimatableColor";
|
|
43
|
-
export * from "./Options/Interfaces/IAnimation";
|
|
44
|
-
export * from "./Options/Interfaces/IColorAnimation";
|
|
45
|
-
export * from "./Options/Interfaces/IHslAnimation";
|
|
46
|
-
export * from "./Options/Interfaces/IManualParticle";
|
|
47
|
-
export * from "./Options/Interfaces/IOptionLoader";
|
|
48
|
-
export * from "./Options/Interfaces/IOptions";
|
|
49
|
-
export * from "./Options/Interfaces/IOptionsColor";
|
|
50
|
-
export * from "./Options/Interfaces/IResponsive";
|
|
51
|
-
export * from "./Options/Interfaces/IValueWithRandom";
|
|
52
|
-
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
|
53
|
-
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
|
54
|
-
export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
|
55
|
-
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
|
56
|
-
export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
|
57
|
-
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent";
|
|
58
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
|
59
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
|
60
|
-
export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
|
61
|
-
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
|
62
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
|
63
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb";
|
|
64
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
|
65
|
-
export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
|
66
|
-
export * from "./Options/Interfaces/Particles/IShadow";
|
|
67
|
-
export * from "./Options/Interfaces/Particles/IStroke";
|
|
68
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
|
69
|
-
export * from "./Options/Interfaces/Particles/Move/IMove";
|
|
70
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
|
71
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveCenter";
|
|
72
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
|
73
|
-
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
|
74
|
-
export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
|
75
|
-
export * from "./Options/Interfaces/Particles/Move/ISpin";
|
|
76
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
|
77
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
|
78
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
|
79
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
|
80
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
|
81
|
-
export * from "./Options/Interfaces/Particles/Shape/IShape";
|
|
82
|
-
export * from "./Options/Interfaces/Particles/Size/ISize";
|
|
83
|
-
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
|
84
|
-
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
|
85
|
-
export * from "./Options/Interfaces/Theme/ITheme";
|
|
86
|
-
export * from "./Options/Interfaces/Theme/IThemeDefault";
|
|
87
|
-
export * from "./Types/CustomEventArgs";
|
|
88
|
-
export * from "./Types/CustomEventListener";
|
|
89
|
-
export * from "./Types/ExportResult";
|
|
90
|
-
export * from "./Types/ISourceOptions";
|
|
91
|
-
export * from "./Types/ParticlesGroups";
|
|
92
|
-
export * from "./Types/PathOptions";
|
|
93
|
-
export * from "./Types/RangeValue";
|
|
94
|
-
export * from "./Types/RecursivePartial";
|
|
95
|
-
export * from "./Types/ShapeData";
|
|
96
|
-
export * from "./Types/ShapeDrawerFunctions";
|
|
97
|
-
export * from "./Types/SingleOrMultiple";
|
|
1
|
+
export * from "./Core/Interfaces/Colors.js";
|
|
2
|
+
export * from "./Core/Interfaces/IBounds.js";
|
|
3
|
+
export * from "./Core/Interfaces/IBubbleParticleData.js";
|
|
4
|
+
export * from "./Core/Interfaces/ICircleBouncer.js";
|
|
5
|
+
export * from "./Core/Interfaces/IColorManager.js";
|
|
6
|
+
export * from "./Core/Interfaces/IContainerInteractivity.js";
|
|
7
|
+
export * from "./Core/Interfaces/IContainerPlugin.js";
|
|
8
|
+
export * from "./Core/Interfaces/ICoordinates.js";
|
|
9
|
+
export * from "./Core/Interfaces/IDelta.js";
|
|
10
|
+
export * from "./Core/Interfaces/IDimension.js";
|
|
11
|
+
export * from "./Core/Interfaces/IDistance.js";
|
|
12
|
+
export * from "./Core/Interfaces/IDrawParticleParams.js";
|
|
13
|
+
export * from "./Core/Interfaces/IExternalInteractor.js";
|
|
14
|
+
export * from "./Core/Interfaces/IInteractor.js";
|
|
15
|
+
export * from "./Core/Interfaces/ILoadParams.js";
|
|
16
|
+
export * from "./Core/Interfaces/IMouseData.js";
|
|
17
|
+
export * from "./Core/Interfaces/IMovePathGenerator.js";
|
|
18
|
+
export * from "./Core/Interfaces/IParticle.js";
|
|
19
|
+
export * from "./Core/Interfaces/IParticleColorStyle.js";
|
|
20
|
+
export * from "./Core/Interfaces/IParticleHslAnimation.js";
|
|
21
|
+
export * from "./Core/Interfaces/IParticleLife.js";
|
|
22
|
+
export * from "./Core/Interfaces/IParticleMover.js";
|
|
23
|
+
export * from "./Core/Interfaces/IParticleRetinaProps.js";
|
|
24
|
+
export * from "./Core/Interfaces/IParticleRoll.js";
|
|
25
|
+
export * from "./Core/Interfaces/IParticleTransformValues.js";
|
|
26
|
+
export * from "./Core/Interfaces/IParticleUpdater.js";
|
|
27
|
+
export * from "./Core/Interfaces/IParticleValueAnimation.js";
|
|
28
|
+
export * from "./Core/Interfaces/IParticlesInteractor.js";
|
|
29
|
+
export * from "./Core/Interfaces/IPlugin.js";
|
|
30
|
+
export * from "./Core/Interfaces/IPositionFromSizeParams.js";
|
|
31
|
+
export * from "./Core/Interfaces/IRangeValue.js";
|
|
32
|
+
export * from "./Core/Interfaces/IRectSideResult.js";
|
|
33
|
+
export * from "./Core/Interfaces/IShapeDrawer.js";
|
|
34
|
+
export * from "./Core/Interfaces/IShapeValues.js";
|
|
35
|
+
export * from "./Core/Interfaces/ISlowParticleData.js";
|
|
36
|
+
export * from "./Core/Interfaces/ITrailFillData.js";
|
|
37
|
+
export * from "./Options/Interfaces/Background/IBackground.js";
|
|
38
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask.js";
|
|
39
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js";
|
|
40
|
+
export * from "./Options/Interfaces/FullScreen/IFullScreen.js";
|
|
41
|
+
export * from "./Options/Interfaces/IAnimatable.js";
|
|
42
|
+
export * from "./Options/Interfaces/IAnimatableColor.js";
|
|
43
|
+
export * from "./Options/Interfaces/IAnimation.js";
|
|
44
|
+
export * from "./Options/Interfaces/IColorAnimation.js";
|
|
45
|
+
export * from "./Options/Interfaces/IHslAnimation.js";
|
|
46
|
+
export * from "./Options/Interfaces/IManualParticle.js";
|
|
47
|
+
export * from "./Options/Interfaces/IOptionLoader.js";
|
|
48
|
+
export * from "./Options/Interfaces/IOptions.js";
|
|
49
|
+
export * from "./Options/Interfaces/IOptionsColor.js";
|
|
50
|
+
export * from "./Options/Interfaces/IResponsive.js";
|
|
51
|
+
export * from "./Options/Interfaces/IValueWithRandom.js";
|
|
52
|
+
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent.js";
|
|
53
|
+
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent.js";
|
|
54
|
+
export * from "./Options/Interfaces/Interactivity/Events/IEvents.js";
|
|
55
|
+
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent.js";
|
|
56
|
+
export * from "./Options/Interfaces/Interactivity/Events/IParallax.js";
|
|
57
|
+
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent.js";
|
|
58
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv.js";
|
|
59
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModes.js";
|
|
60
|
+
export * from "./Options/Interfaces/Interactivity/IInteractivity.js";
|
|
61
|
+
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce.js";
|
|
62
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisions.js";
|
|
63
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js";
|
|
64
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js";
|
|
65
|
+
export * from "./Options/Interfaces/Particles/IParticlesOptions.js";
|
|
66
|
+
export * from "./Options/Interfaces/Particles/IShadow.js";
|
|
67
|
+
export * from "./Options/Interfaces/Particles/IStroke.js";
|
|
68
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAttract.js";
|
|
69
|
+
export * from "./Options/Interfaces/Particles/Move/IMove.js";
|
|
70
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAngle.js";
|
|
71
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveCenter.js";
|
|
72
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveGravity.js";
|
|
73
|
+
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath.js";
|
|
74
|
+
export * from "./Options/Interfaces/Particles/Move/IOutModes.js";
|
|
75
|
+
export * from "./Options/Interfaces/Particles/Move/ISpin.js";
|
|
76
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveTrail.js";
|
|
77
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity.js";
|
|
78
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber.js";
|
|
79
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacity.js";
|
|
80
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation.js";
|
|
81
|
+
export * from "./Options/Interfaces/Particles/Shape/IShape.js";
|
|
82
|
+
export * from "./Options/Interfaces/Particles/Size/ISize.js";
|
|
83
|
+
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation.js";
|
|
84
|
+
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex.js";
|
|
85
|
+
export * from "./Options/Interfaces/Theme/ITheme.js";
|
|
86
|
+
export * from "./Options/Interfaces/Theme/IThemeDefault.js";
|
|
87
|
+
export * from "./Types/CustomEventArgs.js";
|
|
88
|
+
export * from "./Types/CustomEventListener.js";
|
|
89
|
+
export * from "./Types/ExportResult.js";
|
|
90
|
+
export * from "./Types/ISourceOptions.js";
|
|
91
|
+
export * from "./Types/ParticlesGroups.js";
|
|
92
|
+
export * from "./Types/PathOptions.js";
|
|
93
|
+
export * from "./Types/RangeValue.js";
|
|
94
|
+
export * from "./Types/RecursivePartial.js";
|
|
95
|
+
export * from "./Types/ShapeData.js";
|
|
96
|
+
export * from "./Types/ShapeDrawerFunctions.js";
|
|
97
|
+
export * from "./Types/SingleOrMultiple.js";
|
package/browser/exports.js
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
export * from "./Core/Utils/Circle";
|
|
2
|
-
export * from "./Core/Utils/Constants";
|
|
3
|
-
export * from "./Core/Utils/ExternalInteractorBase";
|
|
4
|
-
export * from "./Core/Utils/ParticlesInteractorBase";
|
|
5
|
-
export * from "./Core/Utils/Point";
|
|
6
|
-
export * from "./Core/Utils/Range";
|
|
7
|
-
export * from "./Core/Utils/Rectangle";
|
|
8
|
-
export * from "./Core/Utils/Vector";
|
|
9
|
-
export * from "./Core/Utils/Vector3d";
|
|
10
|
-
export * from "./Enums/Directions/MoveDirection";
|
|
11
|
-
export * from "./Enums/Directions/RotateDirection";
|
|
12
|
-
export * from "./Enums/Directions/OutModeDirection";
|
|
13
|
-
export * from "./Enums/Modes/AnimationMode";
|
|
14
|
-
export * from "./Enums/Modes/ClickMode";
|
|
15
|
-
export * from "./Enums/Modes/DivMode";
|
|
16
|
-
export * from "./Enums/Modes/HoverMode";
|
|
17
|
-
export * from "./Enums/Modes/CollisionMode";
|
|
18
|
-
export * from "./Enums/Modes/OutMode";
|
|
19
|
-
export * from "./Enums/Modes/PixelMode";
|
|
20
|
-
export * from "./Enums/Modes/ThemeMode";
|
|
21
|
-
export * from "./Enums/Modes/ResponsiveMode";
|
|
22
|
-
export * from "./Enums/Types/AlterType";
|
|
23
|
-
export * from "./Enums/Types/DestroyType";
|
|
24
|
-
export * from "./Enums/Types/GradientType";
|
|
25
|
-
export * from "./Enums/Types/InteractorType";
|
|
26
|
-
export * from "./Enums/Types/ParticleOutType";
|
|
27
|
-
export * from "./Enums/Types/StartValueType";
|
|
28
|
-
export * from "./Enums/Types/DivType";
|
|
29
|
-
export * from "./Enums/Types/EasingType";
|
|
30
|
-
export * from "./Enums/Types/EventType";
|
|
31
|
-
export * from "./Enums/AnimationStatus";
|
|
32
|
-
export * from "./Enums/InteractivityDetect";
|
|
33
|
-
export * from "./Options/Classes/AnimatableColor";
|
|
34
|
-
export * from "./Options/Classes/AnimationOptions";
|
|
35
|
-
export * from "./Options/Classes/Background/Background";
|
|
36
|
-
export * from "./Options/Classes/BackgroundMask/BackgroundMask";
|
|
37
|
-
export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover";
|
|
38
|
-
export * from "./Options/Classes/ColorAnimation";
|
|
39
|
-
export * from "./Options/Classes/FullScreen/FullScreen";
|
|
40
|
-
export * from "./Options/Classes/HslAnimation";
|
|
41
|
-
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
42
|
-
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
43
|
-
export * from "./Options/Classes/Interactivity/Events/ClickEvent";
|
|
44
|
-
export * from "./Options/Classes/Interactivity/Events/DivEvent";
|
|
45
|
-
export * from "./Options/Classes/Interactivity/Events/Events";
|
|
46
|
-
export * from "./Options/Classes/Interactivity/Events/HoverEvent";
|
|
47
|
-
export * from "./Options/Classes/Interactivity/Events/Parallax";
|
|
48
|
-
export * from "./Options/Classes/Interactivity/Events/ResizeEvent";
|
|
49
|
-
export * from "./Options/Classes/Interactivity/Interactivity";
|
|
50
|
-
export * from "./Options/Classes/Interactivity/Modes/Modes";
|
|
51
|
-
export * from "./Options/Classes/ManualParticle";
|
|
52
|
-
export * from "./Options/Classes/Options";
|
|
53
|
-
export * from "./Options/Classes/OptionsColor";
|
|
54
|
-
export * from "./Options/Classes/Particles/Bounce/ParticlesBounce";
|
|
55
|
-
export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor";
|
|
56
|
-
export * from "./Options/Classes/Particles/Collisions/Collisions";
|
|
57
|
-
export * from "./Options/Classes/Particles/Collisions/CollisionsAbsorb";
|
|
58
|
-
export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap";
|
|
59
|
-
export * from "./Options/Classes/Particles/ParticlesOptions";
|
|
60
|
-
export * from "./Options/Classes/Particles/Shadow";
|
|
61
|
-
export * from "./Options/Classes/Particles/Stroke";
|
|
62
|
-
export * from "./Options/Classes/Particles/Move/MoveAttract";
|
|
63
|
-
export * from "./Options/Classes/Particles/Move/Move";
|
|
64
|
-
export * from "./Options/Classes/Particles/Move/MoveAngle";
|
|
65
|
-
export * from "./Options/Classes/Particles/Move/MoveCenter";
|
|
66
|
-
export * from "./Options/Classes/Particles/Move/MoveGravity";
|
|
67
|
-
export * from "./Options/Classes/Particles/Move/OutModes";
|
|
68
|
-
export * from "./Options/Classes/Particles/Move/Path/MovePath";
|
|
69
|
-
export * from "./Options/Classes/Particles/Move/Spin";
|
|
70
|
-
export * from "./Options/Classes/Particles/Move/MoveTrail";
|
|
71
|
-
export * from "./Options/Classes/Particles/Number/ParticlesNumber";
|
|
72
|
-
export * from "./Options/Classes/Particles/Number/ParticlesDensity";
|
|
73
|
-
export * from "./Options/Classes/Particles/Opacity/Opacity";
|
|
74
|
-
export * from "./Options/Classes/Particles/Opacity/OpacityAnimation";
|
|
75
|
-
export * from "./Options/Classes/Particles/Shape/Shape";
|
|
76
|
-
export * from "./Options/Classes/Particles/Size/Size";
|
|
77
|
-
export * from "./Options/Classes/Particles/Size/SizeAnimation";
|
|
78
|
-
export * from "./Options/Classes/Particles/ZIndex/ZIndex";
|
|
79
|
-
export * from "./Options/Classes/Responsive";
|
|
80
|
-
export * from "./Options/Classes/Theme/Theme";
|
|
81
|
-
export * from "./Options/Classes/Theme/ThemeDefault";
|
|
82
|
-
export * from "./Options/Classes/ValueWithRandom";
|
|
83
|
-
export * from "./Utils/CanvasUtils";
|
|
84
|
-
export * from "./Utils/ColorUtils";
|
|
85
|
-
export * from "./Utils/HslColorManager";
|
|
86
|
-
export * from "./Utils/NumberUtils";
|
|
87
|
-
export * from "./Utils/OptionsUtils";
|
|
88
|
-
export * from "./Utils/RgbColorManager";
|
|
89
|
-
export * from "./Utils/Utils";
|
|
1
|
+
export * from "./Core/Utils/Circle.js";
|
|
2
|
+
export * from "./Core/Utils/Constants.js";
|
|
3
|
+
export * from "./Core/Utils/ExternalInteractorBase.js";
|
|
4
|
+
export * from "./Core/Utils/ParticlesInteractorBase.js";
|
|
5
|
+
export * from "./Core/Utils/Point.js";
|
|
6
|
+
export * from "./Core/Utils/Range.js";
|
|
7
|
+
export * from "./Core/Utils/Rectangle.js";
|
|
8
|
+
export * from "./Core/Utils/Vector.js";
|
|
9
|
+
export * from "./Core/Utils/Vector3d.js";
|
|
10
|
+
export * from "./Enums/Directions/MoveDirection.js";
|
|
11
|
+
export * from "./Enums/Directions/RotateDirection.js";
|
|
12
|
+
export * from "./Enums/Directions/OutModeDirection.js";
|
|
13
|
+
export * from "./Enums/Modes/AnimationMode.js";
|
|
14
|
+
export * from "./Enums/Modes/ClickMode.js";
|
|
15
|
+
export * from "./Enums/Modes/DivMode.js";
|
|
16
|
+
export * from "./Enums/Modes/HoverMode.js";
|
|
17
|
+
export * from "./Enums/Modes/CollisionMode.js";
|
|
18
|
+
export * from "./Enums/Modes/OutMode.js";
|
|
19
|
+
export * from "./Enums/Modes/PixelMode.js";
|
|
20
|
+
export * from "./Enums/Modes/ThemeMode.js";
|
|
21
|
+
export * from "./Enums/Modes/ResponsiveMode.js";
|
|
22
|
+
export * from "./Enums/Types/AlterType.js";
|
|
23
|
+
export * from "./Enums/Types/DestroyType.js";
|
|
24
|
+
export * from "./Enums/Types/GradientType.js";
|
|
25
|
+
export * from "./Enums/Types/InteractorType.js";
|
|
26
|
+
export * from "./Enums/Types/ParticleOutType.js";
|
|
27
|
+
export * from "./Enums/Types/StartValueType.js";
|
|
28
|
+
export * from "./Enums/Types/DivType.js";
|
|
29
|
+
export * from "./Enums/Types/EasingType.js";
|
|
30
|
+
export * from "./Enums/Types/EventType.js";
|
|
31
|
+
export * from "./Enums/AnimationStatus.js";
|
|
32
|
+
export * from "./Enums/InteractivityDetect.js";
|
|
33
|
+
export * from "./Options/Classes/AnimatableColor.js";
|
|
34
|
+
export * from "./Options/Classes/AnimationOptions.js";
|
|
35
|
+
export * from "./Options/Classes/Background/Background.js";
|
|
36
|
+
export * from "./Options/Classes/BackgroundMask/BackgroundMask.js";
|
|
37
|
+
export * from "./Options/Classes/BackgroundMask/BackgroundMaskCover.js";
|
|
38
|
+
export * from "./Options/Classes/ColorAnimation.js";
|
|
39
|
+
export * from "./Options/Classes/FullScreen/FullScreen.js";
|
|
40
|
+
export * from "./Options/Classes/HslAnimation.js";
|
|
41
|
+
export * from "./Options/Classes/Interactivity/Events/ClickEvent.js";
|
|
42
|
+
export * from "./Options/Classes/Interactivity/Events/DivEvent.js";
|
|
43
|
+
export * from "./Options/Classes/Interactivity/Events/ClickEvent.js";
|
|
44
|
+
export * from "./Options/Classes/Interactivity/Events/DivEvent.js";
|
|
45
|
+
export * from "./Options/Classes/Interactivity/Events/Events.js";
|
|
46
|
+
export * from "./Options/Classes/Interactivity/Events/HoverEvent.js";
|
|
47
|
+
export * from "./Options/Classes/Interactivity/Events/Parallax.js";
|
|
48
|
+
export * from "./Options/Classes/Interactivity/Events/ResizeEvent.js";
|
|
49
|
+
export * from "./Options/Classes/Interactivity/Interactivity.js";
|
|
50
|
+
export * from "./Options/Classes/Interactivity/Modes/Modes.js";
|
|
51
|
+
export * from "./Options/Classes/ManualParticle.js";
|
|
52
|
+
export * from "./Options/Classes/Options.js";
|
|
53
|
+
export * from "./Options/Classes/OptionsColor.js";
|
|
54
|
+
export * from "./Options/Classes/Particles/Bounce/ParticlesBounce.js";
|
|
55
|
+
export * from "./Options/Classes/Particles/Bounce/ParticlesBounceFactor.js";
|
|
56
|
+
export * from "./Options/Classes/Particles/Collisions/Collisions.js";
|
|
57
|
+
export * from "./Options/Classes/Particles/Collisions/CollisionsAbsorb.js";
|
|
58
|
+
export * from "./Options/Classes/Particles/Collisions/CollisionsOverlap.js";
|
|
59
|
+
export * from "./Options/Classes/Particles/ParticlesOptions.js";
|
|
60
|
+
export * from "./Options/Classes/Particles/Shadow.js";
|
|
61
|
+
export * from "./Options/Classes/Particles/Stroke.js";
|
|
62
|
+
export * from "./Options/Classes/Particles/Move/MoveAttract.js";
|
|
63
|
+
export * from "./Options/Classes/Particles/Move/Move.js";
|
|
64
|
+
export * from "./Options/Classes/Particles/Move/MoveAngle.js";
|
|
65
|
+
export * from "./Options/Classes/Particles/Move/MoveCenter.js";
|
|
66
|
+
export * from "./Options/Classes/Particles/Move/MoveGravity.js";
|
|
67
|
+
export * from "./Options/Classes/Particles/Move/OutModes.js";
|
|
68
|
+
export * from "./Options/Classes/Particles/Move/Path/MovePath.js";
|
|
69
|
+
export * from "./Options/Classes/Particles/Move/Spin.js";
|
|
70
|
+
export * from "./Options/Classes/Particles/Move/MoveTrail.js";
|
|
71
|
+
export * from "./Options/Classes/Particles/Number/ParticlesNumber.js";
|
|
72
|
+
export * from "./Options/Classes/Particles/Number/ParticlesDensity.js";
|
|
73
|
+
export * from "./Options/Classes/Particles/Opacity/Opacity.js";
|
|
74
|
+
export * from "./Options/Classes/Particles/Opacity/OpacityAnimation.js";
|
|
75
|
+
export * from "./Options/Classes/Particles/Shape/Shape.js";
|
|
76
|
+
export * from "./Options/Classes/Particles/Size/Size.js";
|
|
77
|
+
export * from "./Options/Classes/Particles/Size/SizeAnimation.js";
|
|
78
|
+
export * from "./Options/Classes/Particles/ZIndex/ZIndex.js";
|
|
79
|
+
export * from "./Options/Classes/Responsive.js";
|
|
80
|
+
export * from "./Options/Classes/Theme/Theme.js";
|
|
81
|
+
export * from "./Options/Classes/Theme/ThemeDefault.js";
|
|
82
|
+
export * from "./Options/Classes/ValueWithRandom.js";
|
|
83
|
+
export * from "./Utils/CanvasUtils.js";
|
|
84
|
+
export * from "./Utils/ColorUtils.js";
|
|
85
|
+
export * from "./Utils/HslColorManager.js";
|
|
86
|
+
export * from "./Utils/NumberUtils.js";
|
|
87
|
+
export * from "./Utils/OptionsUtils.js";
|
|
88
|
+
export * from "./Utils/RgbColorManager.js";
|
|
89
|
+
export * from "./Utils/Utils.js";
|
package/browser/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { init } from "./init";
|
|
2
|
-
import { isSsr } from "./Utils/Utils";
|
|
1
|
+
import { init } from "./init.js";
|
|
2
|
+
import { isSsr } from "./Utils/Utils.js";
|
|
3
3
|
const tsParticles = init();
|
|
4
4
|
if (!isSsr()) {
|
|
5
5
|
window.tsParticles = tsParticles;
|
|
6
6
|
}
|
|
7
|
-
export * from "./exports";
|
|
8
|
-
export * from "./export-types";
|
|
7
|
+
export * from "./exports.js";
|
|
8
|
+
export * from "./export-types.js";
|
|
9
9
|
export { tsParticles };
|
package/browser/init.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Engine } from "./Core/Engine";
|
|
2
|
-
import { HslColorManager } from "./Utils/HslColorManager";
|
|
3
|
-
import { RgbColorManager } from "./Utils/RgbColorManager";
|
|
4
|
-
import { addColorManager } from "./Utils/ColorUtils";
|
|
1
|
+
import { Engine } from "./Core/Engine.js";
|
|
2
|
+
import { HslColorManager } from "./Utils/HslColorManager.js";
|
|
3
|
+
import { RgbColorManager } from "./Utils/RgbColorManager.js";
|
|
4
|
+
import { addColorManager } from "./Utils/ColorUtils.js";
|
|
5
5
|
export function init() {
|
|
6
6
|
const rgbColorManager = new RgbColorManager(), hslColorManager = new HslColorManager();
|
|
7
7
|
addColorManager(rgbColorManager);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
package/cjs/Core/Canvas.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Canvas = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
4
|
+
const CanvasUtils_js_1 = require("../Utils/CanvasUtils.js");
|
|
5
|
+
const Utils_js_1 = require("../Utils/Utils.js");
|
|
6
|
+
const ColorUtils_js_1 = require("../Utils/ColorUtils.js");
|
|
7
|
+
const Constants_js_1 = require("./Utils/Constants.js");
|
|
8
8
|
function setTransformValue(factor, newFactor, key) {
|
|
9
9
|
const newValue = newFactor[key];
|
|
10
10
|
if (newValue !== undefined) {
|
|
@@ -48,10 +48,10 @@ class Canvas {
|
|
|
48
48
|
let fColor, sColor;
|
|
49
49
|
for (const plugin of this._colorPlugins) {
|
|
50
50
|
if (!fColor && plugin.particleFillColor) {
|
|
51
|
-
fColor = (0,
|
|
51
|
+
fColor = (0, ColorUtils_js_1.rangeColorToHsl)(plugin.particleFillColor(particle));
|
|
52
52
|
}
|
|
53
53
|
if (!sColor && plugin.particleStrokeColor) {
|
|
54
|
-
sColor = (0,
|
|
54
|
+
sColor = (0, ColorUtils_js_1.rangeColorToHsl)(plugin.particleStrokeColor(particle));
|
|
55
55
|
}
|
|
56
56
|
if (fColor && sColor) {
|
|
57
57
|
break;
|
|
@@ -60,13 +60,13 @@ class Canvas {
|
|
|
60
60
|
return [fColor, sColor];
|
|
61
61
|
};
|
|
62
62
|
this._initCover = () => {
|
|
63
|
-
const options = this.container.actualOptions, cover = options.backgroundMask.cover, color = cover.color, coverRgb = (0,
|
|
63
|
+
const options = this.container.actualOptions, cover = options.backgroundMask.cover, color = cover.color, coverRgb = (0, ColorUtils_js_1.rangeColorToRgb)(color);
|
|
64
64
|
if (coverRgb) {
|
|
65
65
|
const coverColor = {
|
|
66
66
|
...coverRgb,
|
|
67
67
|
a: cover.opacity,
|
|
68
68
|
};
|
|
69
|
-
this._coverColorStyle = (0,
|
|
69
|
+
this._coverColorStyle = (0, ColorUtils_js_1.getStyleFromRgb)(coverColor, coverColor.a);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
this._initStyle = () => {
|
|
@@ -75,7 +75,7 @@ class Canvas {
|
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
if (this._fullScreen) {
|
|
78
|
-
this._originalStyle = (0,
|
|
78
|
+
this._originalStyle = (0, Utils_js_1.deepExtend)({}, element.style);
|
|
79
79
|
this._setFullScreenStyle();
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
@@ -98,7 +98,7 @@ class Canvas {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
if (trailFill.color) {
|
|
101
|
-
const fillColor = (0,
|
|
101
|
+
const fillColor = (0, ColorUtils_js_1.rangeColorToRgb)(trailFill.color);
|
|
102
102
|
if (!fillColor) {
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
@@ -131,10 +131,10 @@ class Canvas {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
this._paintBase = (baseColor) => {
|
|
134
|
-
this.draw((ctx) => (0,
|
|
134
|
+
this.draw((ctx) => (0, CanvasUtils_js_1.paintBase)(ctx, this.size, baseColor));
|
|
135
135
|
};
|
|
136
136
|
this._paintImage = (image, opacity) => {
|
|
137
|
-
this.draw((ctx) => (0,
|
|
137
|
+
this.draw((ctx) => (0, CanvasUtils_js_1.paintImage)(ctx, this.size, image, opacity));
|
|
138
138
|
};
|
|
139
139
|
this._repairStyle = () => {
|
|
140
140
|
const element = this.element;
|
|
@@ -199,7 +199,7 @@ class Canvas {
|
|
|
199
199
|
}
|
|
200
200
|
else if (trail.enable && trail.length > 0 && trailFill) {
|
|
201
201
|
if (trailFill.color) {
|
|
202
|
-
this._paintBase((0,
|
|
202
|
+
this._paintBase((0, ColorUtils_js_1.getStyleFromRgb)(trailFill.color, trailFill.opacity));
|
|
203
203
|
}
|
|
204
204
|
else if (trailFill.image) {
|
|
205
205
|
this._paintImage(trailFill.image, trailFill.opacity);
|
|
@@ -207,7 +207,7 @@ class Canvas {
|
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
this.draw((ctx) => {
|
|
210
|
-
(0,
|
|
210
|
+
(0, CanvasUtils_js_1.clear)(ctx, this.size);
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
213
|
}
|
|
@@ -253,11 +253,11 @@ class Canvas {
|
|
|
253
253
|
}
|
|
254
254
|
this.draw((ctx) => {
|
|
255
255
|
const container = this.container, options = container.actualOptions, zIndexOptions = particle.options.zIndex, zOpacityFactor = (1 - particle.zIndexFactor) ** zIndexOptions.opacityRate, opacity = particle.bubble.opacity ?? particle.opacity?.value ?? 1, strokeOpacity = particle.strokeOpacity ?? opacity, zOpacity = opacity * zOpacityFactor, zStrokeOpacity = strokeOpacity * zOpacityFactor, transform = {}, colorStyles = {
|
|
256
|
-
fill: fColor ? (0,
|
|
256
|
+
fill: fColor ? (0, ColorUtils_js_1.getStyleFromHsl)(fColor, zOpacity) : undefined,
|
|
257
257
|
};
|
|
258
|
-
colorStyles.stroke = sColor ? (0,
|
|
258
|
+
colorStyles.stroke = sColor ? (0, ColorUtils_js_1.getStyleFromHsl)(sColor, zStrokeOpacity) : colorStyles.fill;
|
|
259
259
|
this._applyPreDrawUpdaters(ctx, particle, radius, zOpacity, colorStyles, transform);
|
|
260
|
-
(0,
|
|
260
|
+
(0, CanvasUtils_js_1.drawParticle)({
|
|
261
261
|
container,
|
|
262
262
|
context: ctx,
|
|
263
263
|
particle,
|
|
@@ -274,14 +274,14 @@ class Canvas {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
drawParticlePlugin(plugin, particle, delta) {
|
|
277
|
-
this.draw((ctx) => (0,
|
|
277
|
+
this.draw((ctx) => (0, CanvasUtils_js_1.drawParticlePlugin)(ctx, plugin, particle, delta));
|
|
278
278
|
}
|
|
279
279
|
drawPlugin(plugin, delta) {
|
|
280
|
-
this.draw((ctx) => (0,
|
|
280
|
+
this.draw((ctx) => (0, CanvasUtils_js_1.drawPlugin)(ctx, plugin, delta));
|
|
281
281
|
}
|
|
282
282
|
async init() {
|
|
283
283
|
this._safeMutationObserver((obs) => obs.disconnect());
|
|
284
|
-
this._mutationObserver = (0,
|
|
284
|
+
this._mutationObserver = (0, Utils_js_1.safeMutationObserver)((records) => {
|
|
285
285
|
for (const record of records) {
|
|
286
286
|
if (record.type === "attributes" && record.attributeName === "style") {
|
|
287
287
|
this._repairStyle();
|
|
@@ -295,7 +295,7 @@ class Canvas {
|
|
|
295
295
|
await this._initTrail();
|
|
296
296
|
}
|
|
297
297
|
catch (e) {
|
|
298
|
-
(0,
|
|
298
|
+
(0, Utils_js_1.getLogger)().error(e);
|
|
299
299
|
}
|
|
300
300
|
this.initBackground();
|
|
301
301
|
this._safeMutationObserver((obs) => {
|
|
@@ -318,8 +318,8 @@ class Canvas {
|
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
320
|
if (background.color) {
|
|
321
|
-
const color = (0,
|
|
322
|
-
elementStyle.backgroundColor = color ? (0,
|
|
321
|
+
const color = (0, ColorUtils_js_1.rangeColorToRgb)(background.color);
|
|
322
|
+
elementStyle.backgroundColor = color ? (0, ColorUtils_js_1.getStyleFromRgb)(color, background.opacity) : "";
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
325
|
elementStyle.backgroundColor = "";
|
|
@@ -357,12 +357,12 @@ class Canvas {
|
|
|
357
357
|
this.element.remove();
|
|
358
358
|
}
|
|
359
359
|
this._generated =
|
|
360
|
-
canvas.dataset &&
|
|
361
|
-
? canvas.dataset[
|
|
360
|
+
canvas.dataset && Constants_js_1.generatedAttribute in canvas.dataset
|
|
361
|
+
? canvas.dataset[Constants_js_1.generatedAttribute] === "true"
|
|
362
362
|
: this._generated;
|
|
363
363
|
this.element = canvas;
|
|
364
364
|
this.element.ariaHidden = "true";
|
|
365
|
-
this._originalStyle = (0,
|
|
365
|
+
this._originalStyle = (0, Utils_js_1.deepExtend)({}, this.element.style);
|
|
366
366
|
this.size.height = canvas.offsetHeight;
|
|
367
367
|
this.size.width = canvas.offsetWidth;
|
|
368
368
|
this._context = this.element.getContext("2d");
|
|
@@ -379,7 +379,7 @@ class Canvas {
|
|
|
379
379
|
const options = this.container.actualOptions;
|
|
380
380
|
this.draw((ctx) => {
|
|
381
381
|
if (options.backgroundMask.enable && options.backgroundMask.cover) {
|
|
382
|
-
(0,
|
|
382
|
+
(0, CanvasUtils_js_1.clear)(ctx, this.size);
|
|
383
383
|
this._paintBase(this._coverColorStyle);
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
@@ -415,7 +415,7 @@ class Canvas {
|
|
|
415
415
|
stop() {
|
|
416
416
|
this._safeMutationObserver((obs) => obs.disconnect());
|
|
417
417
|
this._mutationObserver = undefined;
|
|
418
|
-
this.draw((ctx) => (0,
|
|
418
|
+
this.draw((ctx) => (0, CanvasUtils_js_1.clear)(ctx, this.size));
|
|
419
419
|
}
|
|
420
420
|
async windowResize() {
|
|
421
421
|
if (!this.element || !this.resize()) {
|