tsParticles - v0.0.0
Preparing search index...
tsParticles Particles.js integration
bundle
IParticleUpdater
Interface IParticleUpdater
interface
IParticleUpdater
{
afterDraw
?:
(
particle
:
Particle
)
=>
void
;
beforeDraw
?:
(
particle
:
Particle
)
=>
void
;
getColorStyles
?:
(
particle
:
Particle
,
context
:
CanvasRenderingContext2D
,
radius
:
number
,
opacity
:
number
,
)
=>
IParticleColorStyle
;
getTransformValues
?:
(
particle
:
Particle
,
)
=>
Partial
<
IParticleTransformValues
>
;
loadOptions
?:
(
options
:
ParticlesOptions
,
...
sources
:
(
RecursivePartial
<
IParticlesOptions
>
|
undefined
)
[]
,
)
=>
void
;
particleDestroyed
?:
(
particle
:
Particle
,
override
?:
boolean
)
=>
void
;
reset
?:
(
particle
:
Particle
)
=>
void
;
init
(
particle
:
Particle
)
:
void
;
isEnabled
(
particle
:
Particle
)
:
boolean
;
update
(
particle
:
Particle
,
delta
:
IDelta
)
:
void
;
}
Index
Properties
after
Draw?
before
Draw?
get
Color
Styles?
get
Transform
Values?
load
Options?
particle
Destroyed?
reset?
Methods
init
is
Enabled
update
Properties
Optional
after
Draw
afterDraw
?:
(
particle
:
Particle
)
=>
void
Optional
before
Draw
beforeDraw
?:
(
particle
:
Particle
)
=>
void
Optional
get
Color
Styles
getColorStyles
?:
(
particle
:
Particle
,
context
:
CanvasRenderingContext2D
,
radius
:
number
,
opacity
:
number
,
)
=>
IParticleColorStyle
Optional
get
Transform
Values
getTransformValues
?:
(
particle
:
Particle
)
=>
Partial
<
IParticleTransformValues
>
Optional
load
Options
loadOptions
?:
(
options
:
ParticlesOptions
,
...
sources
:
(
RecursivePartial
<
IParticlesOptions
>
|
undefined
)
[]
,
)
=>
void
Optional
particle
Destroyed
particleDestroyed
?:
(
particle
:
Particle
,
override
?:
boolean
)
=>
void
Optional
reset
reset
?:
(
particle
:
Particle
)
=>
void
Methods
init
init
(
particle
:
Particle
)
:
void
Parameters
particle
:
Particle
Returns
void
is
Enabled
isEnabled
(
particle
:
Particle
)
:
boolean
Parameters
particle
:
Particle
Returns
boolean
update
update
(
particle
:
Particle
,
delta
:
IDelta
)
:
void
Parameters
particle
:
Particle
delta
:
IDelta
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
after
Draw
before
Draw
get
Color
Styles
get
Transform
Values
load
Options
particle
Destroyed
reset
Methods
init
is
Enabled
update
tsParticles - v0.0.0
Loading...