tsParticles - v4.1.1
Preparing search index...
tsParticles Attract Particle Interaction
Attractor
Attractor
Class Attractor
Particle attract interactor
Hierarchy
ParticlesInteractorBase
<
Container
,
AttractParticle
>
Attractor
Index
Constructors
constructor
Properties
container
type
Accessors
max
Distance
Methods
clear
init
interact
is
Enabled
load
Particles
Options
reset
Constructors
constructor
new
Attractor
(
container
:
Container
)
:
Attractor
Parameters
container
:
Container
Returns
Attractor
Properties
Protected
Readonly
container
container
:
Container
type
type
:
InteractorType
Accessors
max
Distance
get
maxDistance
()
:
number
Returns
number
Inherit Doc
Methods
clear
clear
()
:
void
Returns
void
Inherit Doc
init
init
()
:
void
Returns
void
Inherit Doc
interact
interact
(
p1
:
AttractParticle
)
:
void
Parameters
p1
:
AttractParticle
Returns
void
Inherit Doc
is
Enabled
isEnabled
(
particle
:
AttractParticle
)
:
boolean
Parameters
particle
:
AttractParticle
Returns
boolean
Inherit Doc
load
Particles
Options
loadParticlesOptions
(
options
:
ParticlesAttractOptions
,
...
sources
:
(
RecursivePartial
<
IParticlesAttractOptions
>
|
undefined
)
[]
,
)
:
void
Parameters
options
:
ParticlesAttractOptions
...
sources
: (
RecursivePartial
<
IParticlesAttractOptions
>
|
undefined
)
[]
Returns
void
Inherit Doc
reset
reset
()
:
void
Returns
void
Inherit Doc
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
container
type
Accessors
max
Distance
Methods
clear
init
interact
is
Enabled
load
Particles
Options
reset
tsParticles - v4.1.1
Loading...
Particle attract interactor