tsparticles 1.35.4 → 1.37.2
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/Core/Canvas.js +4 -6
- package/Core/Container.d.ts +5 -2
- package/Core/Container.js +23 -12
- package/Core/InteractionManager.d.ts +1 -0
- package/Core/InteractionManager.js +4 -1
- package/Core/Particles.d.ts +1 -1
- package/Core/Particles.js +3 -1
- package/Enums/Modes/ResponsiveMode.d.ts +4 -0
- package/Enums/Modes/ResponsiveMode.js +8 -0
- package/Enums/Modes/index.d.ts +1 -0
- package/Enums/Modes/index.js +1 -0
- package/Interactions/External/Attract/index.d.ts +1 -1
- package/Interactions/External/Attract/index.js +2 -2
- package/Interactions/External/Bounce/index.d.ts +1 -1
- package/Interactions/External/Bounce/index.js +2 -2
- package/Interactions/External/Bubble/index.d.ts +1 -1
- package/Interactions/External/Bubble/index.js +2 -2
- package/Interactions/External/Connect/index.d.ts +1 -1
- package/Interactions/External/Connect/index.js +2 -2
- package/Interactions/External/Grab/index.d.ts +1 -1
- package/Interactions/External/Grab/index.js +2 -2
- package/Interactions/External/Repulse/index.d.ts +1 -1
- package/Interactions/External/Repulse/index.js +2 -2
- package/Interactions/External/Trail/index.d.ts +1 -1
- package/Interactions/External/Trail/index.js +2 -2
- package/Interactions/Particles/Attract/index.d.ts +1 -1
- package/Interactions/Particles/Attract/index.js +2 -2
- package/Interactions/Particles/Collisions/index.d.ts +1 -1
- package/Interactions/Particles/Collisions/index.js +2 -2
- package/Interactions/Particles/Links/index.d.ts +2 -2
- package/Interactions/Particles/Links/index.js +5 -5
- package/Interactions/Particles/Links/plugin.d.ts +1 -1
- package/Interactions/Particles/Links/plugin.js +2 -2
- package/Options/Classes/FullScreen/FullScreen.js +2 -2
- package/Options/Classes/Interactivity/Interactivity.js +1 -1
- package/Options/Classes/Options.d.ts +1 -1
- package/Options/Classes/Options.js +5 -2
- package/Options/Classes/Responsive.d.ts +2 -0
- package/Options/Classes/Responsive.js +10 -0
- package/Options/Interfaces/IResponsive.d.ts +2 -0
- package/Plugins/Absorbers/plugin.d.ts +1 -1
- package/Plugins/Absorbers/plugin.js +2 -2
- package/Plugins/Emitters/plugin.d.ts +1 -1
- package/Plugins/Emitters/plugin.js +2 -2
- package/Plugins/PolygonMask/plugin.js +1 -1
- package/Shapes/Circle/index.d.ts +1 -1
- package/Shapes/Circle/index.js +2 -2
- package/Shapes/Image/index.d.ts +1 -1
- package/Shapes/Image/index.js +3 -3
- package/Shapes/Line/index.d.ts +1 -1
- package/Shapes/Line/index.js +2 -2
- package/Shapes/Polygon/index.d.ts +3 -3
- package/Shapes/Polygon/index.js +7 -7
- package/Shapes/Square/index.d.ts +1 -1
- package/Shapes/Square/index.js +3 -3
- package/Shapes/Star/index.d.ts +1 -1
- package/Shapes/Star/index.js +2 -2
- package/Shapes/Text/index.d.ts +1 -1
- package/Shapes/Text/index.js +2 -2
- package/Updaters/Angle/index.d.ts +1 -1
- package/Updaters/Angle/index.js +2 -2
- package/Updaters/Color/index.d.ts +1 -1
- package/Updaters/Color/index.js +2 -2
- package/Updaters/Life/index.d.ts +1 -1
- package/Updaters/Life/index.js +2 -2
- package/Updaters/Opacity/index.d.ts +1 -1
- package/Updaters/Opacity/index.js +2 -2
- package/Updaters/OutModes/index.d.ts +1 -1
- package/Updaters/OutModes/index.js +2 -2
- package/Updaters/Roll/index.d.ts +1 -1
- package/Updaters/Roll/index.js +2 -2
- package/Updaters/Size/index.d.ts +1 -1
- package/Updaters/Size/index.js +2 -2
- package/Updaters/StrokeColor/index.d.ts +1 -1
- package/Updaters/StrokeColor/index.js +2 -2
- package/Updaters/Tilt/index.d.ts +1 -1
- package/Updaters/Tilt/index.js +2 -2
- package/Updaters/Wobble/index.d.ts +1 -1
- package/Updaters/Wobble/index.js +2 -2
- package/Utils/Plugins.d.ts +2 -2
- package/Utils/Plugins.js +4 -4
- package/Utils/Utils.d.ts +1 -2
- package/browser/Core/Canvas.d.ts +29 -0
- package/browser/Core/Canvas.js +26 -6
- package/browser/Core/Container.d.ts +99 -2
- package/browser/Core/Container.js +106 -12
- package/browser/Core/FrameManager.d.ts +8 -0
- package/browser/Core/FrameManager.js +9 -0
- package/browser/Core/InteractionManager.d.ts +4 -0
- package/browser/Core/InteractionManager.js +8 -1
- package/browser/Core/Interfaces/Colors.d.ts +23 -0
- package/browser/Core/Interfaces/IAttract.d.ts +3 -0
- package/browser/Core/Interfaces/IBounds.d.ts +3 -0
- package/browser/Core/Interfaces/IBubble.d.ts +3 -0
- package/browser/Core/Interfaces/IBubbleParticleData.d.ts +3 -0
- package/browser/Core/Interfaces/IContainerInteractivity.d.ts +3 -0
- package/browser/Core/Interfaces/IContainerPlugin.d.ts +3 -0
- package/browser/Core/Interfaces/ICoordinates.d.ts +3 -0
- package/browser/Core/Interfaces/IDelta.d.ts +3 -0
- package/browser/Core/Interfaces/IDimension.d.ts +3 -0
- package/browser/Core/Interfaces/IExternalInteractor.d.ts +3 -0
- package/browser/Core/Interfaces/IInteractor.d.ts +3 -0
- package/browser/Core/Interfaces/IMouseData.d.ts +3 -0
- package/browser/Core/Interfaces/IMovePathGenerator.d.ts +3 -0
- package/browser/Core/Interfaces/IParticle.d.ts +3 -0
- package/browser/Core/Interfaces/IParticleValueAnimation.d.ts +3 -0
- package/browser/Core/Interfaces/IParticlesInteractor.d.ts +3 -0
- package/browser/Core/Interfaces/IPlugin.d.ts +8 -0
- package/browser/Core/Interfaces/IRepulse.d.ts +3 -0
- package/browser/Core/Interfaces/IShapeDrawer.d.ts +3 -0
- package/browser/Core/Interfaces/IShapeValues.d.ts +3 -0
- package/browser/Core/Loader.d.ts +45 -0
- package/browser/Core/Loader.js +51 -0
- package/browser/Core/Particle/Mover.d.ts +3 -0
- package/browser/Core/Particle/Mover.js +7 -2
- package/browser/Core/Particle.d.ts +7 -0
- package/browser/Core/Particle.js +13 -0
- package/browser/Core/Particles.d.ts +14 -1
- package/browser/Core/Particles.js +28 -1
- package/browser/Core/Retina.d.ts +6 -0
- package/browser/Core/Retina.js +9 -0
- package/browser/Enums/Directions/MoveDirection.d.ts +3 -0
- package/browser/Enums/Directions/MoveDirection.js +3 -0
- package/browser/Enums/Directions/RotateDirection.d.ts +3 -0
- package/browser/Enums/Directions/RotateDirection.js +3 -0
- package/browser/Enums/Directions/TiltDirection.d.ts +3 -0
- package/browser/Enums/Directions/TiltDirection.js +3 -0
- package/browser/Enums/InteractivityDetect.d.ts +3 -0
- package/browser/Enums/InteractivityDetect.js +3 -0
- package/browser/Enums/Modes/ClickMode.d.ts +3 -0
- package/browser/Enums/Modes/ClickMode.js +3 -0
- package/browser/Enums/Modes/CollisionMode.d.ts +3 -0
- package/browser/Enums/Modes/CollisionMode.js +3 -0
- package/browser/Enums/Modes/DivMode.d.ts +3 -0
- package/browser/Enums/Modes/DivMode.js +3 -0
- package/browser/Enums/Modes/HoverMode.d.ts +3 -0
- package/browser/Enums/Modes/HoverMode.js +3 -0
- package/browser/Enums/Modes/OutMode.d.ts +3 -0
- package/browser/Enums/Modes/OutMode.js +3 -0
- package/browser/Enums/Modes/ResponsiveMode.d.ts +4 -0
- package/browser/Enums/Modes/ResponsiveMode.js +5 -0
- package/browser/Enums/Modes/SizeMode.d.ts +3 -0
- package/browser/Enums/Modes/SizeMode.js +3 -0
- package/browser/Enums/Modes/index.d.ts +1 -0
- package/browser/Enums/Modes/index.js +1 -0
- package/browser/Enums/Types/DestroyType.d.ts +3 -0
- package/browser/Enums/Types/DestroyType.js +3 -0
- package/browser/Enums/Types/DivType.d.ts +3 -0
- package/browser/Enums/Types/DivType.js +3 -0
- package/browser/Enums/Types/OrbitType.d.ts +3 -0
- package/browser/Enums/Types/OrbitType.js +3 -0
- package/browser/Enums/Types/ShapeType.d.ts +3 -0
- package/browser/Enums/Types/ShapeType.js +3 -0
- package/browser/Enums/Types/StartValueType.d.ts +3 -0
- package/browser/Enums/Types/StartValueType.js +3 -0
- package/browser/Interactions/External/Attract/Attractor.d.ts +4 -0
- package/browser/Interactions/External/Attract/Attractor.js +5 -0
- package/browser/Interactions/External/Attract/index.d.ts +1 -1
- package/browser/Interactions/External/Attract/index.js +2 -2
- package/browser/Interactions/External/Bounce/Bouncer.js +1 -0
- package/browser/Interactions/External/Bounce/index.d.ts +1 -1
- package/browser/Interactions/External/Bounce/index.js +2 -2
- package/browser/Interactions/External/Bubble/Bubbler.d.ts +4 -0
- package/browser/Interactions/External/Bubble/Bubbler.js +14 -0
- package/browser/Interactions/External/Bubble/IBubblerProcessParam.d.ts +6 -0
- package/browser/Interactions/External/Bubble/ProcessBubbleType.d.ts +3 -0
- package/browser/Interactions/External/Bubble/ProcessBubbleType.js +3 -0
- package/browser/Interactions/External/Bubble/index.d.ts +1 -1
- package/browser/Interactions/External/Bubble/index.js +2 -2
- package/browser/Interactions/External/Connect/Connector.d.ts +7 -0
- package/browser/Interactions/External/Connect/Connector.js +8 -0
- package/browser/Interactions/External/Connect/index.d.ts +1 -1
- package/browser/Interactions/External/Connect/index.js +2 -2
- package/browser/Interactions/External/Grab/Grabber.d.ts +4 -0
- package/browser/Interactions/External/Grab/Grabber.js +9 -0
- package/browser/Interactions/External/Grab/index.d.ts +1 -1
- package/browser/Interactions/External/Grab/index.js +2 -2
- package/browser/Interactions/External/Repulse/Repulser.d.ts +4 -0
- package/browser/Interactions/External/Repulse/Repulser.js +162 -0
- package/browser/Interactions/External/Repulse/index.d.ts +1 -1
- package/browser/Interactions/External/Repulse/index.js +2 -2
- package/browser/Interactions/External/Trail/TrailMaker.d.ts +3 -0
- package/browser/Interactions/External/Trail/TrailMaker.js +4 -0
- package/browser/Interactions/External/Trail/index.d.ts +1 -1
- package/browser/Interactions/External/Trail/index.js +2 -2
- package/browser/Interactions/Particles/Attract/Attractor.d.ts +3 -0
- package/browser/Interactions/Particles/Attract/Attractor.js +4 -0
- package/browser/Interactions/Particles/Attract/index.d.ts +1 -1
- package/browser/Interactions/Particles/Attract/index.js +2 -2
- package/browser/Interactions/Particles/Collisions/Collider.d.ts +3 -0
- package/browser/Interactions/Particles/Collisions/Collider.js +4 -0
- package/browser/Interactions/Particles/Collisions/index.d.ts +1 -1
- package/browser/Interactions/Particles/Collisions/index.js +2 -2
- package/browser/Interactions/Particles/Links/ILink.d.ts +6 -0
- package/browser/Interactions/Particles/Links/LinkInstance.js +8 -0
- package/browser/Interactions/Particles/Links/Linker.js +2 -0
- package/browser/Interactions/Particles/Links/index.d.ts +2 -2
- package/browser/Interactions/Particles/Links/index.js +5 -5
- package/browser/Interactions/Particles/Links/plugin.d.ts +1 -1
- package/browser/Interactions/Particles/Links/plugin.js +3 -2
- package/browser/Options/Classes/AnimatableColor.d.ts +4 -0
- package/browser/Options/Classes/AnimatableColor.js +4 -0
- package/browser/Options/Classes/Background/Background.d.ts +4 -0
- package/browser/Options/Classes/Background/Background.js +4 -0
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.d.ts +14 -0
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +4 -0
- package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +3 -0
- package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js +3 -0
- package/browser/Options/Classes/ColorAnimation.d.ts +3 -0
- package/browser/Options/Classes/ColorAnimation.js +3 -0
- package/browser/Options/Classes/FullScreen/FullScreen.d.ts +16 -0
- package/browser/Options/Classes/FullScreen/FullScreen.js +8 -2
- package/browser/Options/Classes/Interactivity/Events/ClickEvent.d.ts +10 -0
- package/browser/Options/Classes/Interactivity/Events/ClickEvent.js +4 -0
- package/browser/Options/Classes/Interactivity/Events/DivEvent.d.ts +37 -0
- package/browser/Options/Classes/Interactivity/Events/DivEvent.js +33 -0
- package/browser/Options/Classes/Interactivity/Events/Events.d.ts +31 -0
- package/browser/Options/Classes/Interactivity/Events/Events.js +31 -0
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.d.ts +4 -0
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +4 -0
- package/browser/Options/Classes/Interactivity/Events/Parallax.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Events/Parallax.js +3 -0
- package/browser/Options/Classes/Interactivity/Interactivity.d.ts +13 -0
- package/browser/Options/Classes/Interactivity/Interactivity.js +14 -1
- package/browser/Options/Classes/Interactivity/Modes/Attract.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Attract.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Bubble.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Bubble.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/BubbleBase.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/BubbleBase.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/BubbleDiv.d.ts +9 -0
- package/browser/Options/Classes/Interactivity/Modes/BubbleDiv.js +9 -0
- package/browser/Options/Classes/Interactivity/Modes/Connect.d.ts +21 -0
- package/browser/Options/Classes/Interactivity/Modes/Connect.js +21 -0
- package/browser/Options/Classes/Interactivity/Modes/ConnectLinks.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/ConnectLinks.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Grab.d.ts +21 -0
- package/browser/Options/Classes/Interactivity/Modes/Grab.js +21 -0
- package/browser/Options/Classes/Interactivity/Modes/GrabLinks.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/GrabLinks.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Modes.d.ts +4 -0
- package/browser/Options/Classes/Interactivity/Modes/Modes.js +4 -0
- package/browser/Options/Classes/Interactivity/Modes/Push.d.ts +12 -0
- package/browser/Options/Classes/Interactivity/Modes/Push.js +12 -0
- package/browser/Options/Classes/Interactivity/Modes/Remove.d.ts +12 -0
- package/browser/Options/Classes/Interactivity/Modes/Remove.js +12 -0
- package/browser/Options/Classes/Interactivity/Modes/Repulse.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Repulse.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/RepulseBase.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/RepulseBase.js +3 -0
- package/browser/Options/Classes/Interactivity/Modes/RepulseDiv.d.ts +9 -0
- package/browser/Options/Classes/Interactivity/Modes/RepulseDiv.js +11 -0
- package/browser/Options/Classes/Interactivity/Modes/Slow.d.ts +9 -0
- package/browser/Options/Classes/Interactivity/Modes/Slow.js +10 -0
- package/browser/Options/Classes/Interactivity/Modes/Trail.d.ts +3 -0
- package/browser/Options/Classes/Interactivity/Modes/Trail.js +3 -0
- package/browser/Options/Classes/Motion/Motion.d.ts +11 -0
- package/browser/Options/Classes/Motion/Motion.js +4 -0
- package/browser/Options/Classes/Motion/MotionReduce.d.ts +9 -0
- package/browser/Options/Classes/Motion/MotionReduce.js +3 -0
- package/browser/Options/Classes/Options.d.ts +31 -1
- package/browser/Options/Classes/Options.js +36 -3
- package/browser/Options/Classes/OptionsColor.d.ts +4 -0
- package/browser/Options/Classes/OptionsColor.js +4 -0
- package/browser/Options/Classes/Particles/Collisions/Collisions.d.ts +4 -0
- package/browser/Options/Classes/Particles/Collisions/Collisions.js +4 -0
- package/browser/Options/Classes/Particles/Links/Links.d.ts +4 -0
- package/browser/Options/Classes/Particles/Links/Links.js +4 -0
- package/browser/Options/Classes/Particles/Links/LinksShadow.d.ts +3 -0
- package/browser/Options/Classes/Particles/Links/LinksShadow.js +3 -0
- package/browser/Options/Classes/Particles/Links/LinksTriangle.d.ts +3 -0
- package/browser/Options/Classes/Particles/Links/LinksTriangle.js +3 -0
- package/browser/Options/Classes/Particles/Move/Attract.d.ts +21 -0
- package/browser/Options/Classes/Particles/Move/Attract.js +21 -0
- package/browser/Options/Classes/Particles/Move/Move.d.ts +42 -0
- package/browser/Options/Classes/Particles/Move/Move.js +43 -0
- package/browser/Options/Classes/Particles/Move/MoveAngle.d.ts +3 -0
- package/browser/Options/Classes/Particles/Move/MoveAngle.js +4 -1
- package/browser/Options/Classes/Particles/Move/Path/Path.d.ts +3 -0
- package/browser/Options/Classes/Particles/Move/Path/Path.js +3 -0
- package/browser/Options/Classes/Particles/Move/Trail.d.ts +3 -0
- package/browser/Options/Classes/Particles/Move/Trail.js +3 -0
- package/browser/Options/Classes/Particles/Number/Density.d.ts +12 -0
- package/browser/Options/Classes/Particles/Number/Density.js +12 -0
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.d.ts +10 -0
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +10 -0
- package/browser/Options/Classes/Particles/Opacity/Opacity.d.ts +13 -0
- package/browser/Options/Classes/Particles/Opacity/Opacity.js +13 -0
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +15 -0
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +12 -0
- package/browser/Options/Classes/Particles/Orbit/Orbit.d.ts +4 -0
- package/browser/Options/Classes/Particles/Orbit/Orbit.js +4 -0
- package/browser/Options/Classes/Particles/Orbit/OrbitRotation.d.ts +3 -0
- package/browser/Options/Classes/Particles/Orbit/OrbitRotation.js +3 -0
- package/browser/Options/Classes/Particles/ParticlesOptions.d.ts +22 -0
- package/browser/Options/Classes/Particles/ParticlesOptions.js +22 -0
- package/browser/Options/Classes/Particles/Repulse/Repulse.d.ts +3 -0
- package/browser/Options/Classes/Particles/Repulse/Repulse.js +3 -0
- package/browser/Options/Classes/Particles/Rotate/Rotate.d.ts +4 -0
- package/browser/Options/Classes/Particles/Rotate/Rotate.js +4 -0
- package/browser/Options/Classes/Particles/Rotate/RotateAnimation.d.ts +3 -0
- package/browser/Options/Classes/Particles/Rotate/RotateAnimation.js +3 -0
- package/browser/Options/Classes/Particles/Shadow.d.ts +4 -0
- package/browser/Options/Classes/Particles/Shadow.js +4 -0
- package/browser/Options/Classes/Particles/Shape/Shape.d.ts +42 -0
- package/browser/Options/Classes/Particles/Shape/Shape.js +43 -0
- package/browser/Options/Classes/Particles/Size/Size.d.ts +13 -0
- package/browser/Options/Classes/Particles/Size/Size.js +13 -0
- package/browser/Options/Classes/Particles/Size/SizeAnimation.d.ts +15 -0
- package/browser/Options/Classes/Particles/Size/SizeAnimation.js +12 -0
- package/browser/Options/Classes/Particles/Stroke.d.ts +4 -0
- package/browser/Options/Classes/Particles/Stroke.js +4 -0
- package/browser/Options/Classes/Particles/Tilt/Tilt.d.ts +4 -0
- package/browser/Options/Classes/Particles/Tilt/Tilt.js +4 -0
- package/browser/Options/Classes/Particles/Tilt/TiltAnimation.d.ts +3 -0
- package/browser/Options/Classes/Particles/Tilt/TiltAnimation.js +3 -0
- package/browser/Options/Classes/Particles/Twinkle/Twinkle.d.ts +4 -0
- package/browser/Options/Classes/Particles/Twinkle/Twinkle.js +4 -0
- package/browser/Options/Classes/Particles/Twinkle/TwinkleValues.d.ts +3 -0
- package/browser/Options/Classes/Particles/Twinkle/TwinkleValues.js +3 -0
- package/browser/Options/Classes/Particles/ZIndex/ZIndex.d.ts +3 -0
- package/browser/Options/Classes/Particles/ZIndex/ZIndex.js +3 -0
- package/browser/Options/Classes/Responsive.d.ts +2 -0
- package/browser/Options/Classes/Responsive.js +11 -0
- package/browser/Options/Classes/ValueWithRandom.d.ts +3 -0
- package/browser/Options/Interfaces/Background/IBackground.d.ts +35 -0
- package/browser/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +21 -0
- package/browser/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +10 -0
- package/browser/Options/Interfaces/FullScreen/IFullScreen.d.ts +16 -0
- package/browser/Options/Interfaces/IAnimatableColor.d.ts +8 -0
- package/browser/Options/Interfaces/IAnimation.d.ts +10 -0
- package/browser/Options/Interfaces/IColorAnimation.d.ts +7 -0
- package/browser/Options/Interfaces/IColorAnimation.js +4 -0
- package/browser/Options/Interfaces/IManualParticle.d.ts +11 -0
- package/browser/Options/Interfaces/IOptionLoader.d.ts +9 -0
- package/browser/Options/Interfaces/IOptions.d.ts +71 -0
- package/browser/Options/Interfaces/IOptionsColor.d.ts +5 -0
- package/browser/Options/Interfaces/IResponsive.d.ts +2 -0
- package/browser/Options/Interfaces/IValueWithRandom.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +12 -0
- package/browser/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +13 -0
- package/browser/Options/Interfaces/Interactivity/Events/IEvents.d.ts +13 -0
- package/browser/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +4 -0
- package/browser/Options/Interfaces/Interactivity/Events/IParallax.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/IInteractivity.d.ts +20 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IAttract.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IBubble.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IBubbleBase.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IBubbleDiv.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IConnect.d.ts +9 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IConnectLinks.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IGrab.d.ts +9 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IGrabLinks.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +6 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IModes.d.ts +4 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IPush.d.ts +6 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IRemove.d.ts +6 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulse.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulseBase.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/IRepulseDiv.d.ts +3 -0
- package/browser/Options/Interfaces/Interactivity/Modes/ISlow.d.ts +6 -0
- package/browser/Options/Interfaces/Interactivity/Modes/ITrail.d.ts +3 -0
- package/browser/Options/Interfaces/Motion/IMotion.d.ts +11 -0
- package/browser/Options/Interfaces/Motion/IMotionReduce.d.ts +9 -0
- package/browser/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/Destroy/IDestroy.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/IParticles.d.ts +10 -0
- package/browser/Options/Interfaces/Particles/IShadow.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/IStroke.d.ts +14 -0
- package/browser/Options/Interfaces/Particles/Links/ILinks.d.ts +43 -0
- package/browser/Options/Interfaces/Particles/Links/ILinksShadow.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Links/ILinksTriangle.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Move/IAttract.d.ts +9 -0
- package/browser/Options/Interfaces/Particles/Move/IMove.d.ts +19 -0
- package/browser/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Move/ITrail.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Move/Path/iPath.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Number/IDensity.d.ts +6 -0
- package/browser/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +7 -0
- package/browser/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +7 -0
- package/browser/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +9 -0
- package/browser/Options/Interfaces/Particles/Orbit/IOrbit.d.ts +7 -0
- package/browser/Options/Interfaces/Particles/Repulse/IRepulse.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/Rotate/IRotate.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/Rotate/IRotateAnimation.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Shape/ICharacterShape.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Shape/IImageShape.d.ts +6 -0
- package/browser/Options/Interfaces/Particles/Shape/IPolygonShape.d.ts +6 -0
- package/browser/Options/Interfaces/Particles/Shape/IShape.d.ts +22 -0
- package/browser/Options/Interfaces/Particles/Shape/IStarShape.d.ts +6 -0
- package/browser/Options/Interfaces/Particles/Size/ISize.d.ts +7 -0
- package/browser/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +9 -0
- package/browser/Options/Interfaces/Particles/Tilt/ITilt.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/Tilt/ITiltAnimation.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/Twinkle/ITwinkle.d.ts +4 -0
- package/browser/Options/Interfaces/Particles/Twinkle/ITwinkleValues.d.ts +3 -0
- package/browser/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +4 -0
- package/browser/Options/Interfaces/Theme/ITheme.d.ts +14 -0
- package/browser/Options/Interfaces/Theme/IThemeDefault.d.ts +16 -0
- package/browser/Plugins/Absorbers/AbsorberInstance.d.ts +3 -0
- package/browser/Plugins/Absorbers/AbsorberInstance.js +3 -0
- package/browser/Plugins/Absorbers/Absorbers.d.ts +3 -0
- package/browser/Plugins/Absorbers/Absorbers.js +3 -0
- package/browser/Plugins/Absorbers/Enums/AbsorberClickMode.d.ts +3 -0
- package/browser/Plugins/Absorbers/Enums/AbsorberClickMode.js +3 -0
- package/browser/Plugins/Absorbers/Options/Classes/Absorber.d.ts +4 -0
- package/browser/Plugins/Absorbers/Options/Classes/Absorber.js +4 -0
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorber.d.ts +29 -0
- package/browser/Plugins/Absorbers/Options/Interfaces/IAbsorberOptions.d.ts +3 -0
- package/browser/Plugins/Absorbers/plugin.d.ts +1 -1
- package/browser/Plugins/Absorbers/plugin.js +5 -2
- package/browser/Plugins/Emitters/EmitterInstance.d.ts +3 -0
- package/browser/Plugins/Emitters/EmitterInstance.js +3 -0
- package/browser/Plugins/Emitters/Emitters.d.ts +3 -0
- package/browser/Plugins/Emitters/Emitters.js +3 -0
- package/browser/Plugins/Emitters/Enums/EmitterClickMode.d.ts +3 -0
- package/browser/Plugins/Emitters/Enums/EmitterClickMode.js +3 -0
- package/browser/Plugins/Emitters/Options/Classes/Emitter.d.ts +4 -0
- package/browser/Plugins/Emitters/Options/Classes/Emitter.js +4 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterLife.d.ts +3 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterLife.js +3 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterRate.d.ts +3 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterRate.js +3 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterSize.d.ts +3 -0
- package/browser/Plugins/Emitters/Options/Classes/EmitterSize.js +3 -0
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitter.d.ts +44 -0
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterLife.d.ts +19 -0
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterOptions.d.ts +3 -0
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterRate.d.ts +11 -0
- package/browser/Plugins/Emitters/Options/Interfaces/IEmitterSize.d.ts +3 -0
- package/browser/Plugins/Emitters/Shapes/Square/SquareShape.js +4 -0
- package/browser/Plugins/Emitters/plugin.d.ts +1 -1
- package/browser/Plugins/Emitters/plugin.js +5 -2
- package/browser/Plugins/PolygonMask/Options/Classes/Draw.d.ts +15 -0
- package/browser/Plugins/PolygonMask/Options/Classes/Draw.js +15 -0
- package/browser/Plugins/PolygonMask/Options/Classes/DrawStroke.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/DrawStroke.js +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/Inline.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/Inline.js +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/LocalSvg.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/LocalSvg.js +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/Move.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/Move.js +3 -0
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.d.ts +10 -0
- package/browser/Plugins/PolygonMask/Options/Classes/PolygonMask.js +10 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IDraw.d.ts +9 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IDrawStroke.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IInline.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/ILocalSvg.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IMove.d.ts +3 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMask.d.ts +7 -0
- package/browser/Plugins/PolygonMask/Options/Interfaces/IPolygonMaskOptions.d.ts +3 -0
- package/browser/Plugins/PolygonMask/PolygonMaskInstance.d.ts +12 -0
- package/browser/Plugins/PolygonMask/PolygonMaskInstance.js +22 -0
- package/browser/Plugins/PolygonMask/pathseg.js +55 -1
- package/browser/Plugins/PolygonMask/plugin.js +10 -2
- package/browser/Plugins/PolygonMask/utils.js +14 -2
- package/browser/Shapes/Circle/CircleDrawer.d.ts +3 -0
- package/browser/Shapes/Circle/CircleDrawer.js +3 -0
- package/browser/Shapes/Circle/index.d.ts +1 -1
- package/browser/Shapes/Circle/index.js +2 -2
- package/browser/Shapes/Image/ImageDrawer.d.ts +3 -0
- package/browser/Shapes/Image/ImageDrawer.js +6 -0
- package/browser/Shapes/Image/Utils.d.ts +3 -0
- package/browser/Shapes/Image/Utils.js +1 -0
- package/browser/Shapes/Image/index.d.ts +1 -1
- package/browser/Shapes/Image/index.js +3 -3
- package/browser/Shapes/Line/LineDrawer.d.ts +3 -0
- package/browser/Shapes/Line/LineDrawer.js +3 -0
- package/browser/Shapes/Line/index.d.ts +1 -1
- package/browser/Shapes/Line/index.js +2 -2
- package/browser/Shapes/Polygon/PolygonDrawer.d.ts +3 -0
- package/browser/Shapes/Polygon/PolygonDrawer.js +3 -0
- package/browser/Shapes/Polygon/PolygonDrawerBase.d.ts +3 -0
- package/browser/Shapes/Polygon/PolygonDrawerBase.js +5 -1
- package/browser/Shapes/Polygon/TriangleDrawer.d.ts +3 -0
- package/browser/Shapes/Polygon/TriangleDrawer.js +3 -0
- package/browser/Shapes/Polygon/index.d.ts +3 -3
- package/browser/Shapes/Polygon/index.js +7 -7
- package/browser/Shapes/Square/SquareDrawer.d.ts +3 -0
- package/browser/Shapes/Square/SquareDrawer.js +3 -0
- package/browser/Shapes/Square/index.d.ts +1 -1
- package/browser/Shapes/Square/index.js +3 -3
- package/browser/Shapes/Star/StarDrawer.d.ts +3 -0
- package/browser/Shapes/Star/StarDrawer.js +3 -0
- package/browser/Shapes/Star/index.d.ts +1 -1
- package/browser/Shapes/Star/index.js +2 -2
- package/browser/Shapes/Text/TextDrawer.d.ts +3 -0
- package/browser/Shapes/Text/TextDrawer.js +3 -0
- package/browser/Shapes/Text/index.d.ts +1 -1
- package/browser/Shapes/Text/index.js +2 -2
- package/browser/Types/ParticlesGroups.d.ts +4 -0
- package/browser/Types/RecursivePartial.d.ts +3 -0
- package/browser/Types/ShapeData.d.ts +3 -0
- package/browser/Types/ShapeDrawerFunctions.d.ts +21 -0
- package/browser/Types/SingleOrMultiple.d.ts +3 -0
- package/browser/Updaters/Angle/index.d.ts +1 -1
- package/browser/Updaters/Angle/index.js +2 -2
- package/browser/Updaters/Color/ColorUpdater.js +1 -0
- package/browser/Updaters/Color/index.d.ts +1 -1
- package/browser/Updaters/Color/index.js +2 -2
- package/browser/Updaters/Life/LifeUpdater.js +1 -0
- package/browser/Updaters/Life/index.d.ts +1 -1
- package/browser/Updaters/Life/index.js +2 -2
- package/browser/Updaters/Opacity/OpacityUpdater.js +1 -0
- package/browser/Updaters/Opacity/index.d.ts +1 -1
- package/browser/Updaters/Opacity/index.js +2 -2
- package/browser/Updaters/OutModes/OutOfCanvasUpdater.js +1 -0
- package/browser/Updaters/OutModes/index.d.ts +1 -1
- package/browser/Updaters/OutModes/index.js +2 -2
- package/browser/Updaters/Roll/index.d.ts +1 -1
- package/browser/Updaters/Roll/index.js +2 -2
- package/browser/Updaters/Size/SizeUpdater.js +1 -0
- package/browser/Updaters/Size/index.d.ts +1 -1
- package/browser/Updaters/Size/index.js +2 -2
- package/browser/Updaters/StrokeColor/StrokeColorUpdater.js +1 -0
- package/browser/Updaters/StrokeColor/index.d.ts +1 -1
- package/browser/Updaters/StrokeColor/index.js +2 -2
- package/browser/Updaters/Tilt/index.d.ts +1 -1
- package/browser/Updaters/Tilt/index.js +2 -2
- package/browser/Updaters/Wobble/index.d.ts +1 -1
- package/browser/Updaters/Wobble/index.js +2 -2
- package/browser/Utils/CanvasUtils.js +4 -0
- package/browser/Utils/Circle.d.ts +3 -0
- package/browser/Utils/Circle.js +3 -0
- package/browser/Utils/CircleWarp.d.ts +3 -0
- package/browser/Utils/CircleWarp.js +3 -0
- package/browser/Utils/ColorUtils.d.ts +20 -0
- package/browser/Utils/ColorUtils.js +33 -1
- package/browser/Utils/Constants.d.ts +7 -0
- package/browser/Utils/Constants.js +7 -0
- package/browser/Utils/EventListeners.d.ts +32 -0
- package/browser/Utils/EventListeners.js +40 -0
- package/browser/Utils/NumberUtils.d.ts +27 -0
- package/browser/Utils/NumberUtils.js +27 -0
- package/browser/Utils/Plugins.d.ts +5 -2
- package/browser/Utils/Plugins.js +7 -4
- package/browser/Utils/Point.d.ts +3 -0
- package/browser/Utils/Point.js +3 -0
- package/browser/Utils/QuadTree.d.ts +3 -0
- package/browser/Utils/QuadTree.js +3 -0
- package/browser/Utils/Range.d.ts +3 -0
- package/browser/Utils/Range.js +3 -0
- package/browser/Utils/Rectangle.d.ts +3 -0
- package/browser/Utils/Rectangle.js +3 -0
- package/browser/Utils/Utils.d.ts +6 -2
- package/browser/Utils/Utils.js +14 -0
- package/browser/full.d.ts +1 -1
- package/browser/full.js +14 -6
- package/browser/index.d.ts +1 -2
- package/browser/index.js +2 -2
- package/browser/index.slim.d.ts +1 -2
- package/browser/index.slim.js +3 -2
- package/browser/main.d.ts +99 -6
- package/browser/main.js +114 -11
- package/browser/pjs.d.ts +27 -0
- package/browser/pjs.js +23 -0
- package/browser/slim.d.ts +1 -1
- package/browser/slim.js +39 -47
- package/esm/Core/Canvas.js +4 -6
- package/esm/Core/Container.d.ts +5 -2
- package/esm/Core/Container.js +23 -12
- package/esm/Core/InteractionManager.d.ts +1 -0
- package/esm/Core/InteractionManager.js +4 -1
- package/esm/Core/Particles.d.ts +1 -1
- package/esm/Core/Particles.js +3 -1
- package/esm/Enums/Modes/ResponsiveMode.d.ts +4 -0
- package/esm/Enums/Modes/ResponsiveMode.js +5 -0
- package/esm/Enums/Modes/index.d.ts +1 -0
- package/esm/Enums/Modes/index.js +1 -0
- package/esm/Interactions/External/Attract/index.d.ts +1 -1
- package/esm/Interactions/External/Attract/index.js +2 -2
- package/esm/Interactions/External/Bounce/index.d.ts +1 -1
- package/esm/Interactions/External/Bounce/index.js +2 -2
- package/esm/Interactions/External/Bubble/index.d.ts +1 -1
- package/esm/Interactions/External/Bubble/index.js +2 -2
- package/esm/Interactions/External/Connect/index.d.ts +1 -1
- package/esm/Interactions/External/Connect/index.js +2 -2
- package/esm/Interactions/External/Grab/index.d.ts +1 -1
- package/esm/Interactions/External/Grab/index.js +2 -2
- package/esm/Interactions/External/Repulse/index.d.ts +1 -1
- package/esm/Interactions/External/Repulse/index.js +2 -2
- package/esm/Interactions/External/Trail/index.d.ts +1 -1
- package/esm/Interactions/External/Trail/index.js +2 -2
- package/esm/Interactions/Particles/Attract/index.d.ts +1 -1
- package/esm/Interactions/Particles/Attract/index.js +2 -2
- package/esm/Interactions/Particles/Collisions/index.d.ts +1 -1
- package/esm/Interactions/Particles/Collisions/index.js +2 -2
- package/esm/Interactions/Particles/Links/index.d.ts +2 -2
- package/esm/Interactions/Particles/Links/index.js +5 -5
- package/esm/Interactions/Particles/Links/plugin.d.ts +1 -1
- package/esm/Interactions/Particles/Links/plugin.js +2 -2
- package/esm/Options/Classes/FullScreen/FullScreen.js +2 -2
- package/esm/Options/Classes/Interactivity/Interactivity.js +1 -1
- package/esm/Options/Classes/Options.d.ts +1 -1
- package/esm/Options/Classes/Options.js +6 -3
- package/esm/Options/Classes/Responsive.d.ts +2 -0
- package/esm/Options/Classes/Responsive.js +10 -0
- package/esm/Options/Interfaces/IResponsive.d.ts +2 -0
- package/esm/Plugins/Absorbers/plugin.d.ts +1 -1
- package/esm/Plugins/Absorbers/plugin.js +2 -2
- package/esm/Plugins/Emitters/plugin.d.ts +1 -1
- package/esm/Plugins/Emitters/plugin.js +2 -2
- package/esm/Plugins/PolygonMask/plugin.js +1 -1
- package/esm/Shapes/Circle/index.d.ts +1 -1
- package/esm/Shapes/Circle/index.js +2 -2
- package/esm/Shapes/Image/index.d.ts +1 -1
- package/esm/Shapes/Image/index.js +3 -3
- package/esm/Shapes/Line/index.d.ts +1 -1
- package/esm/Shapes/Line/index.js +2 -2
- package/esm/Shapes/Polygon/index.d.ts +3 -3
- package/esm/Shapes/Polygon/index.js +7 -7
- package/esm/Shapes/Square/index.d.ts +1 -1
- package/esm/Shapes/Square/index.js +3 -3
- package/esm/Shapes/Star/index.d.ts +1 -1
- package/esm/Shapes/Star/index.js +2 -2
- package/esm/Shapes/Text/index.d.ts +1 -1
- package/esm/Shapes/Text/index.js +2 -2
- package/esm/Updaters/Angle/index.d.ts +1 -1
- package/esm/Updaters/Angle/index.js +2 -2
- package/esm/Updaters/Color/index.d.ts +1 -1
- package/esm/Updaters/Color/index.js +2 -2
- package/esm/Updaters/Life/index.d.ts +1 -1
- package/esm/Updaters/Life/index.js +2 -2
- package/esm/Updaters/Opacity/index.d.ts +1 -1
- package/esm/Updaters/Opacity/index.js +2 -2
- package/esm/Updaters/OutModes/index.d.ts +1 -1
- package/esm/Updaters/OutModes/index.js +2 -2
- package/esm/Updaters/Roll/index.d.ts +1 -1
- package/esm/Updaters/Roll/index.js +2 -2
- package/esm/Updaters/Size/index.d.ts +1 -1
- package/esm/Updaters/Size/index.js +2 -2
- package/esm/Updaters/StrokeColor/index.d.ts +1 -1
- package/esm/Updaters/StrokeColor/index.js +2 -2
- package/esm/Updaters/Tilt/index.d.ts +1 -1
- package/esm/Updaters/Tilt/index.js +2 -2
- package/esm/Updaters/Wobble/index.d.ts +1 -1
- package/esm/Updaters/Wobble/index.js +2 -2
- package/esm/Utils/Plugins.d.ts +2 -2
- package/esm/Utils/Plugins.js +4 -4
- package/esm/Utils/Utils.d.ts +1 -2
- package/esm/full.d.ts +1 -1
- package/esm/full.js +14 -6
- package/esm/index.d.ts +1 -2
- package/esm/index.js +2 -2
- package/esm/index.slim.d.ts +1 -2
- package/esm/index.slim.js +2 -2
- package/esm/main.d.ts +7 -6
- package/esm/main.js +18 -7
- package/esm/slim.d.ts +1 -1
- package/esm/slim.js +39 -47
- package/full.d.ts +1 -1
- package/full.js +14 -6
- package/index.d.ts +1 -2
- package/index.js +2 -3
- package/index.slim.d.ts +1 -2
- package/index.slim.js +2 -3
- package/main.d.ts +7 -6
- package/main.js +18 -7
- package/package.json +1 -1
- package/report.html +2 -2
- package/report.slim.html +2 -2
- package/slim.d.ts +1 -1
- package/slim.js +39 -47
- package/tsparticles.js +10586 -13650
- package/tsparticles.min.js +2 -2
- package/tsparticles.pathseg.js +1472 -0
- package/tsparticles.slim.js +8521 -11340
- package/tsparticles.slim.min.js +2 -2
- package/167.js +0 -1779
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
import type { IColor } from "../../../Core/Interfaces/Colors";
|
|
2
|
+
/**
|
|
3
|
+
* The background options used by the canvas element, it's not drawn, it's applied in the style
|
|
4
|
+
* [[include:Options/Background.md]]
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
2
7
|
export interface IBackground {
|
|
8
|
+
/**
|
|
9
|
+
* The `color` property can be set to a HEX string or to a {@link IColor | color object}, that is the same as the one used in `particles.color` options.
|
|
10
|
+
*
|
|
11
|
+
* This color is set to canvas style `background-color` property, if this property is not set the background will be transparent.
|
|
12
|
+
*/
|
|
3
13
|
color: IColor | string;
|
|
14
|
+
/**
|
|
15
|
+
* The `image` property sets the canvas style `background-image` property.
|
|
16
|
+
*
|
|
17
|
+
* This property doesn't have a default value, anyway if you need a background image you need to specify the same CSS syntax with the `url()` function.
|
|
18
|
+
*/
|
|
4
19
|
image: string;
|
|
20
|
+
/**
|
|
21
|
+
* The `opacity` property sets the `color` property opacity, so you can set a semi-transparent background.
|
|
22
|
+
*
|
|
23
|
+
* This value is by default to `1` and it accepts any value between `0` and `1` included.
|
|
24
|
+
*/
|
|
5
25
|
opacity: number;
|
|
26
|
+
/**
|
|
27
|
+
* The `position` property sets the canvas style `background-position` property.
|
|
28
|
+
*
|
|
29
|
+
* This [link](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position) can be useful to set the right value to this property.
|
|
30
|
+
*/
|
|
6
31
|
position: string;
|
|
32
|
+
/**
|
|
33
|
+
* The `repeat` property sets the canvas style `background-repeat` property.
|
|
34
|
+
*
|
|
35
|
+
* This [link](https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat) can be useful to set the right value to this property.
|
|
36
|
+
*/
|
|
7
37
|
repeat: string;
|
|
38
|
+
/**
|
|
39
|
+
* The `size` property sets the canvas style `background-size` property.
|
|
40
|
+
*
|
|
41
|
+
* This [link](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size) can be useful to set the right value to this property.
|
|
42
|
+
*/
|
|
8
43
|
size: string;
|
|
9
44
|
}
|
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
import type { IColor } from "../../../Core/Interfaces/Colors";
|
|
2
2
|
import type { IBackgroundMaskCover } from "./IBackgroundMaskCover";
|
|
3
|
+
/**
|
|
4
|
+
* The options to apply a base color to canvas to cover what's behind
|
|
5
|
+
* The particles will unveil what is covered by the canvas
|
|
6
|
+
* [[include:Options/BackgroundMask.md]]
|
|
7
|
+
* @category Options
|
|
8
|
+
*/
|
|
3
9
|
export interface IBackgroundMask {
|
|
10
|
+
/**
|
|
11
|
+
* This property is used to choose the composition mode for the background mask effect.
|
|
12
|
+
*
|
|
13
|
+
* The default value is `destination-out`, which unveils the background below using drawn elements, any other valid value
|
|
14
|
+
* can be found [here](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation)
|
|
15
|
+
*/
|
|
4
16
|
composite: string;
|
|
17
|
+
/**
|
|
18
|
+
* The `cover` property can be set to a HEX string or to a {@link IColor | color object}, that is the same as the one used
|
|
19
|
+
* in `particles.color` options.
|
|
20
|
+
*
|
|
21
|
+
* The `cover` can also be a {@link IBackgroundMaskCover | cover object} like the one described below.
|
|
22
|
+
*/
|
|
5
23
|
cover: IBackgroundMaskCover | IColor | string;
|
|
24
|
+
/**
|
|
25
|
+
* This property set the background mask mode, this mode enables the `composite` option to all elements drawn.
|
|
26
|
+
*/
|
|
6
27
|
enable: boolean;
|
|
7
28
|
}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { IColor } from "../../../Core/Interfaces/Colors";
|
|
2
|
+
/**
|
|
3
|
+
* The background cover customization
|
|
4
|
+
* @category Options
|
|
5
|
+
*/
|
|
2
6
|
export interface IBackgroundMaskCover {
|
|
7
|
+
/**
|
|
8
|
+
* The background color hiding all elements behind, string or [[IColor]] value.
|
|
9
|
+
*/
|
|
3
10
|
color: IColor | string;
|
|
11
|
+
/**
|
|
12
|
+
* The opacity of the background
|
|
13
|
+
*/
|
|
4
14
|
opacity: number;
|
|
5
15
|
}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The options to set the particles in the background using CSS `fixed` position
|
|
3
|
+
* The [[zIndex]] property sets the background CSS `z-index` property
|
|
4
|
+
* [[include:Options/FullScreen.md]]
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
1
7
|
export interface IFullScreen {
|
|
8
|
+
/**
|
|
9
|
+
* This property sets the canvas to a full window size acting like a background, the most common configuration. The default value is `false` since many already have different configurations.
|
|
10
|
+
*
|
|
11
|
+
* This is really helpful since there's no need to write CSS code to have a full size tsParticles instance.
|
|
12
|
+
*/
|
|
2
13
|
enable: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* This is the CSS `z-index` property set to the canvas.
|
|
16
|
+
*
|
|
17
|
+
* If the `z-index` is less than `0` the mouse interactions works only with the `interactivity.detectsOn` set to `window`.
|
|
18
|
+
*/
|
|
3
19
|
zIndex: number;
|
|
4
20
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { IOptionsColor } from "./IOptionsColor";
|
|
2
2
|
import type { IColorAnimation } from "./IColorAnimation";
|
|
3
3
|
import type { IHslAnimation } from "./IHslAnimation";
|
|
4
|
+
/**
|
|
5
|
+
* The animatable color interface, it provides all the necessary properties to create a color animation
|
|
6
|
+
* [[include:Options/Particles/Color.md]]
|
|
7
|
+
* @category Options
|
|
8
|
+
*/
|
|
4
9
|
export interface IAnimatableColor extends IOptionsColor {
|
|
10
|
+
/**
|
|
11
|
+
* The color animation property
|
|
12
|
+
*/
|
|
5
13
|
animation: IColorAnimation | IHslAnimation;
|
|
6
14
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export interface IAnimation {
|
|
2
2
|
count: number;
|
|
3
|
+
/**
|
|
4
|
+
* Enables/disables the animation
|
|
5
|
+
*/
|
|
3
6
|
enable: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Speed animation
|
|
9
|
+
*/
|
|
4
10
|
speed: number;
|
|
11
|
+
/**
|
|
12
|
+
* Enables the sync animations for the particles created at the same time
|
|
13
|
+
* pushed or emitter particles will be out of sync
|
|
14
|
+
*/
|
|
5
15
|
sync: boolean;
|
|
6
16
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color animation interface, these properties are used to animate colors
|
|
3
|
+
* @category Options
|
|
4
|
+
*/
|
|
1
5
|
import type { RangeValue } from "../../Types";
|
|
2
6
|
import type { IAnimation } from "./IAnimation";
|
|
3
7
|
export interface IColorAnimation extends IAnimation {
|
|
8
|
+
/**
|
|
9
|
+
* The value offset percent applied to color hue
|
|
10
|
+
*/
|
|
4
11
|
offset: RangeValue;
|
|
5
12
|
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import type { ICoordinates } from "../../Core/Interfaces/ICoordinates";
|
|
2
2
|
import type { IParticles } from "./Particles/IParticles";
|
|
3
3
|
import type { RecursivePartial } from "../../Types";
|
|
4
|
+
/**
|
|
5
|
+
* Manual particles options
|
|
6
|
+
* [[include:Options/ManualParticles.md]]
|
|
7
|
+
* @category options
|
|
8
|
+
*/
|
|
4
9
|
export interface IManualParticle {
|
|
10
|
+
/**
|
|
11
|
+
* Particle position in canvas size percent, if undefined a random position will be used
|
|
12
|
+
*/
|
|
5
13
|
position?: ICoordinates;
|
|
14
|
+
/**
|
|
15
|
+
* Particle options, this properties will override the general particles configuration
|
|
16
|
+
*/
|
|
6
17
|
options?: RecursivePartial<IParticles>;
|
|
7
18
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import type { RecursivePartial } from "../../Types";
|
|
2
|
+
/**
|
|
3
|
+
* This interface is used by the [[Options]] class to have a [[load]] method to set all needed properties from source
|
|
4
|
+
* @typeParam T the options interface to load
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
2
7
|
export interface IOptionLoader<T> {
|
|
8
|
+
/**
|
|
9
|
+
* This load method is used to load [[data]] in the classes used as generic
|
|
10
|
+
* @param data the input options
|
|
11
|
+
*/
|
|
3
12
|
load(data?: RecursivePartial<T>): void;
|
|
4
13
|
}
|
|
@@ -8,26 +8,97 @@ import type { IFullScreen } from "./FullScreen/IFullScreen";
|
|
|
8
8
|
import type { IMotion } from "./Motion/IMotion";
|
|
9
9
|
import type { IManualParticle } from "./IManualParticle";
|
|
10
10
|
import type { IResponsive } from "./IResponsive";
|
|
11
|
+
/**
|
|
12
|
+
* The Options interface, defines all the options that can be used by `tsParticles`
|
|
13
|
+
* [[include:Options.md]]
|
|
14
|
+
* @category Options
|
|
15
|
+
*/
|
|
11
16
|
export interface IOptions {
|
|
17
|
+
/**
|
|
18
|
+
* Sets if the animations should start automatically or manually
|
|
19
|
+
*/
|
|
12
20
|
autoPlay: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Background options, these background options will be used to the canvas element, they are all CSS properties
|
|
23
|
+
*/
|
|
13
24
|
background: IBackground;
|
|
25
|
+
/**
|
|
26
|
+
* Background Mask options, what's behind the canvas will become hidden and particles will uncover it
|
|
27
|
+
*/
|
|
14
28
|
backgroundMask: IBackgroundMask;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the animated background mode for particles canvas bringing it to the back
|
|
31
|
+
* @deprecated use the new fullScreen instead
|
|
32
|
+
*/
|
|
15
33
|
backgroundMode: RecursivePartial<IFullScreen> | boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
|
|
36
|
+
*/
|
|
16
37
|
detectRetina: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The Particles effect duration in seconds, then the container will be destroyed
|
|
40
|
+
*/
|
|
17
41
|
duration: RangeValue;
|
|
42
|
+
/**
|
|
43
|
+
* The Frame Per Second limit applied to all particles animations.
|
|
44
|
+
* @deprecated use the new fpsLimit instead
|
|
45
|
+
*/
|
|
18
46
|
fps_limit: number;
|
|
47
|
+
/**
|
|
48
|
+
* The FPS (Frame Per Second) limit applied to all particles animations.
|
|
49
|
+
*/
|
|
19
50
|
fpsLimit: number;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the animated background mode for particles canvas bringing it to the back
|
|
53
|
+
*/
|
|
20
54
|
fullScreen: RecursivePartial<IFullScreen> | boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The particles interaction options
|
|
57
|
+
*/
|
|
21
58
|
interactivity: IInteractivity;
|
|
59
|
+
/**
|
|
60
|
+
* Particles inserted at load time with a specific position
|
|
61
|
+
*/
|
|
22
62
|
manualParticles: IManualParticle[];
|
|
63
|
+
/**
|
|
64
|
+
* Handles user's preferences about motion
|
|
65
|
+
*/
|
|
23
66
|
motion: IMotion;
|
|
67
|
+
/**
|
|
68
|
+
* The particles options
|
|
69
|
+
*/
|
|
24
70
|
particles: IParticles;
|
|
71
|
+
/**
|
|
72
|
+
* Enables or disabled the animation on window blur
|
|
73
|
+
*/
|
|
25
74
|
pauseOnBlur: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Enable or disabled the animation if the element is outside the viewport
|
|
77
|
+
*/
|
|
26
78
|
pauseOnOutsideViewport: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* This property will be used to add specified presets to the options
|
|
81
|
+
*/
|
|
27
82
|
preset?: SingleOrMultiple<string>;
|
|
83
|
+
/**
|
|
84
|
+
* This sets custom options based on canvas size
|
|
85
|
+
*/
|
|
28
86
|
responsive: IResponsive[];
|
|
87
|
+
/**
|
|
88
|
+
* Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
|
|
89
|
+
* @deprecated use the new detectRetina instead
|
|
90
|
+
*/
|
|
29
91
|
retina_detect: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* User-defined themes that can be retrieved by the particles [[Container]]
|
|
94
|
+
*/
|
|
30
95
|
themes: ITheme[];
|
|
96
|
+
/**
|
|
97
|
+
* The maximum layers used in the z-axis
|
|
98
|
+
*/
|
|
31
99
|
zLayers: number;
|
|
100
|
+
/**
|
|
101
|
+
* More custom options for external plugins or customizations
|
|
102
|
+
*/
|
|
32
103
|
[name: string]: unknown;
|
|
33
104
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ResponsiveMode } from "../../Enums";
|
|
1
2
|
import type { RecursivePartial } from "../../Types";
|
|
2
3
|
import type { IOptions } from "./IOptions";
|
|
3
4
|
export interface IResponsive {
|
|
4
5
|
maxWidth: number;
|
|
5
6
|
options: RecursivePartial<IOptions>;
|
|
7
|
+
mode: ResponsiveMode;
|
|
6
8
|
}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import type { ClickMode } from "../../../../Enums";
|
|
2
2
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
3
|
+
/**
|
|
4
|
+
* The canvas click event
|
|
5
|
+
* [[include:Options/Interactivity/Click.md]]
|
|
6
|
+
* @category Options
|
|
7
|
+
*/
|
|
3
8
|
export interface IClickEvent {
|
|
9
|
+
/**
|
|
10
|
+
* This property enables or disables the click event
|
|
11
|
+
*/
|
|
4
12
|
enable: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* This property contains a [[ClickMode]] value or an array of those values.
|
|
15
|
+
* If this value is an array, every mode will be used on click.
|
|
16
|
+
*/
|
|
5
17
|
mode: SingleOrMultiple<ClickMode | keyof typeof ClickMode | string>;
|
|
6
18
|
}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import type { DivMode, DivType } from "../../../../Enums";
|
|
2
2
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
3
|
+
/**
|
|
4
|
+
* [[include:Options/Interactivity/Div.md]]
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
3
7
|
export interface IDivEvent {
|
|
4
8
|
enable: boolean;
|
|
5
9
|
mode: SingleOrMultiple<DivMode | keyof typeof DivMode | string>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated This property is deprecated, use the new selectors property instead
|
|
12
|
+
*/
|
|
6
13
|
el: SingleOrMultiple<string>;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated This property is deprecated, use the new selectors property instead
|
|
16
|
+
*/
|
|
7
17
|
elementId: SingleOrMultiple<string>;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated This property is deprecated, use the new selectors property instead
|
|
20
|
+
*/
|
|
8
21
|
ids: SingleOrMultiple<string>;
|
|
9
22
|
selectors: SingleOrMultiple<string>;
|
|
10
23
|
type: DivType;
|
|
@@ -2,9 +2,22 @@ import type { IClickEvent } from "./IClickEvent";
|
|
|
2
2
|
import type { IHoverEvent } from "./IHoverEvent";
|
|
3
3
|
import type { IDivEvent } from "./IDivEvent";
|
|
4
4
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
5
|
+
/**
|
|
6
|
+
* [[include:Options/Interactivity/Events.md]]
|
|
7
|
+
* @category Options
|
|
8
|
+
*/
|
|
5
9
|
export interface IEvents {
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use the new onClick instead
|
|
12
|
+
*/
|
|
6
13
|
onclick: IClickEvent;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated use the new onHover instead
|
|
16
|
+
*/
|
|
7
17
|
onhover: IHoverEvent;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use the new onDiv instead
|
|
20
|
+
*/
|
|
8
21
|
ondiv: SingleOrMultiple<IDivEvent>;
|
|
9
22
|
onClick: IClickEvent;
|
|
10
23
|
onHover: IHoverEvent;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { HoverMode } from "../../../../Enums";
|
|
2
2
|
import type { IParallax } from "./IParallax";
|
|
3
3
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
4
|
+
/**
|
|
5
|
+
* [[include:Options/Interactivity/Hover.md]]
|
|
6
|
+
* @category Options
|
|
7
|
+
*/
|
|
4
8
|
export interface IHoverEvent {
|
|
5
9
|
enable: boolean;
|
|
6
10
|
mode: SingleOrMultiple<HoverMode | keyof typeof HoverMode | string>;
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import type { InteractivityDetect } from "../../../Enums";
|
|
2
2
|
import type { IEvents } from "./Events/IEvents";
|
|
3
3
|
import type { IModes } from "./Modes/IModes";
|
|
4
|
+
/**
|
|
5
|
+
* Particles interactivity options
|
|
6
|
+
* [[include:Options/Interactivity.md]]
|
|
7
|
+
* @category Options
|
|
8
|
+
*/
|
|
4
9
|
export interface IInteractivity {
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use the new detectsOn instead
|
|
12
|
+
*/
|
|
5
13
|
detect_on: InteractivityDetect | keyof typeof InteractivityDetect;
|
|
14
|
+
/**
|
|
15
|
+
* Where the mouse events will be detected
|
|
16
|
+
* If set to `canvas` only the particles canvas will be targeted
|
|
17
|
+
* If set to `parent` only the particles canvas parent will be targeted
|
|
18
|
+
* If set to `window` every area will be the target
|
|
19
|
+
*/
|
|
6
20
|
detectsOn: InteractivityDetect | keyof typeof InteractivityDetect;
|
|
21
|
+
/**
|
|
22
|
+
* Interaction events options, this configures which events are enabled and which modes should be used
|
|
23
|
+
*/
|
|
7
24
|
events: IEvents;
|
|
25
|
+
/**
|
|
26
|
+
* Interaction modes options, this configures every mode behavior
|
|
27
|
+
*/
|
|
8
28
|
modes: IModes;
|
|
9
29
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
2
2
|
import type { IBubbleDiv } from "./IBubbleDiv";
|
|
3
3
|
import type { IBubbleBase } from "./IBubbleBase";
|
|
4
|
+
/**
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
4
7
|
export interface IBubble extends IBubbleBase {
|
|
5
8
|
divs?: SingleOrMultiple<IBubbleDiv>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import type { IConnectLinks } from "./IConnectLinks";
|
|
2
|
+
/**
|
|
3
|
+
* @category Options
|
|
4
|
+
*/
|
|
2
5
|
export interface IConnect {
|
|
3
6
|
distance: number;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use the new links instead
|
|
9
|
+
*/
|
|
4
10
|
line_linked: IConnectLinks;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use the new links instead
|
|
13
|
+
*/
|
|
5
14
|
lineLinked: IConnectLinks;
|
|
6
15
|
links: IConnectLinks;
|
|
7
16
|
radius: number;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import type { IGrabLinks } from "./IGrabLinks";
|
|
2
|
+
/**
|
|
3
|
+
* @category Options
|
|
4
|
+
*/
|
|
2
5
|
export interface IGrab {
|
|
3
6
|
distance: number;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use the new links instead
|
|
9
|
+
*/
|
|
4
10
|
line_linked: IGrabLinks;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use the new links instead
|
|
13
|
+
*/
|
|
5
14
|
lineLinked: IGrabLinks;
|
|
6
15
|
links: IGrabLinks;
|
|
7
16
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { SingleOrMultiple } from "../../../../Types";
|
|
2
|
+
/**
|
|
3
|
+
* @category Options
|
|
4
|
+
*/
|
|
2
5
|
export interface IModeDiv {
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated This property is deprecated, please use selectors instead
|
|
8
|
+
*/
|
|
3
9
|
ids: SingleOrMultiple<string>;
|
|
4
10
|
selectors: SingleOrMultiple<string>;
|
|
5
11
|
}
|
|
@@ -8,6 +8,10 @@ import type { ISlow } from "./ISlow";
|
|
|
8
8
|
import type { ITrail } from "./ITrail";
|
|
9
9
|
import type { IAttract } from "./IAttract";
|
|
10
10
|
import type { ILight } from "./ILight";
|
|
11
|
+
/**
|
|
12
|
+
* [[include:Options/Interactivity/Modes.md]]
|
|
13
|
+
* @category Options
|
|
14
|
+
*/
|
|
11
15
|
export interface IModes {
|
|
12
16
|
attract: IAttract;
|
|
13
17
|
bubble: IBubble;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { SingleOrMultiple } from "../../../../Types";
|
|
2
2
|
import type { IRepulseDiv } from "./IRepulseDiv";
|
|
3
3
|
import type { IRepulseBase } from "./IRepulseBase";
|
|
4
|
+
/**
|
|
5
|
+
* @category Options
|
|
6
|
+
*/
|
|
4
7
|
export interface IRepulse extends IRepulseBase {
|
|
5
8
|
divs?: SingleOrMultiple<IRepulseDiv>;
|
|
6
9
|
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { IMotionReduce } from "./IMotionReduce";
|
|
2
|
+
/**
|
|
3
|
+
* [[include:Options/Motion.md]]
|
|
4
|
+
* @category Options
|
|
5
|
+
*/
|
|
2
6
|
export interface IMotion {
|
|
7
|
+
/**
|
|
8
|
+
* Disables motions for users with `prefer-reduced-motion` enabled
|
|
9
|
+
*/
|
|
3
10
|
disable: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Reduce motion settings for users with `prefer-reduced-motion` enabled
|
|
13
|
+
* If [[disable]] is `true` these values will be ignored
|
|
14
|
+
*/
|
|
4
15
|
reduce: IMotionReduce;
|
|
5
16
|
}
|