Preparing search index...
The search index is not available
tsParticles - v3.0.0
tsParticles
tsParticles Absorbers Plugin
AbsorberContainer
AbsorberContainer
Interface AbsorberContainer
interface
AbsorberContainer
{
actualOptions
:
AbsorberOptions
;
addAbsorber
:
(
(
options
:
RecursivePartial
<
IAbsorber
>
,
position
?:
ICoordinates
)
=>
Promise
<
AbsorberInstance
>
)
;
canvas
:
Canvas
;
destroyed
:
boolean
;
effectDrawers
:
Map
<
string
,
IEffectDrawer
<
Particle
>
>
;
fpsLimit
:
number
;
getAbsorber
:
(
(
idxOrName
?:
string
|
number
)
=>
undefined
|
AbsorberInstance
)
;
id
:
symbol
;
interactivity
:
IContainerInteractivity
;
pageHidden
:
boolean
;
particles
:
Particles
;
pathGenerators
:
Map
<
string
,
IMovePathGenerator
>
;
plugins
:
Map
<
string
,
IContainerPlugin
>
;
retina
:
Retina
;
shapeDrawers
:
Map
<
string
,
IShapeDrawer
<
Particle
>
>
;
started
:
boolean
;
zLayers
:
number
;
get
animationStatus
():
boolean
;
get
options
():
Options
;
get
sourceOptions
():
undefined
|
RecursivePartial
<
IOptions
>
;
addClickHandler
(
callback
:
(
(
evt
:
Event
,
particles
?:
Particle
[]
)
=>
void
)
)
:
void
;
addLifeTime
(
value
:
number
)
:
void
;
addPath
(
key
:
string
,
generator
:
IMovePathGenerator
,
override
?:
boolean
)
:
boolean
;
alive
(
)
:
boolean
;
clearClickHandlers
(
)
:
void
;
destroy
(
remove
?:
boolean
)
:
void
;
draw
(
force
:
boolean
)
:
void
;
export
(
type
:
string
,
options
?:
Record
<
string
,
unknown
>
)
:
Promise
<
undefined
|
Blob
>
;
handleClickMode
(
mode
:
string
)
:
void
;
init
(
)
:
Promise
<
void
>
;
loadTheme
(
name
?:
string
)
:
Promise
<
void
>
;
pause
(
)
:
void
;
play
(
force
?:
boolean
)
:
void
;
refresh
(
)
:
Promise
<
void
>
;
reset
(
sourceOptions
?:
RecursivePartial
<
IOptions
>
)
:
Promise
<
void
>
;
start
(
)
:
Promise
<
void
>
;
stop
(
)
:
void
;
updateActualOptions
(
)
:
boolean
;
}
Hierarchy (
view full
)
Container
AbsorberContainer
Index
Properties
actual
Options
add
Absorber
canvas
destroyed
effect
Drawers
fps
Limit
get
Absorber
id
interactivity
page
Hidden
particles
path
Generators
plugins
retina
shape
Drawers
started
z
Layers
Accessors
animation
Status
options
source
Options
Methods
add
Click
Handler
add
Life
Time
add
Path
alive
clear
Click
Handlers
destroy
draw
export
handle
Click
Mode
init
load
Theme
pause
play
refresh
reset
start
stop
update
Actual
Options
Properties
actual
Options
actual
Options
:
AbsorberOptions
add
Absorber
add
Absorber
:
(
(
options
:
RecursivePartial
<
IAbsorber
>
,
position
?:
ICoordinates
)
=>
Promise
<
AbsorberInstance
>
)
Readonly
canvas
canvas
:
Canvas
destroyed
destroyed
:
boolean
Readonly
effect
Drawers
effect
Drawers
:
Map
<
string
,
IEffectDrawer
<
Particle
>
>
fps
Limit
fps
Limit
:
number
get
Absorber
get
Absorber
:
(
(
idxOrName
?:
string
|
number
)
=>
undefined
|
AbsorberInstance
)
Readonly
id
id
:
symbol
interactivity
interactivity
:
IContainerInteractivity
page
Hidden
page
Hidden
:
boolean
Readonly
particles
particles
:
Particles
Readonly
path
Generators
path
Generators
:
Map
<
string
,
IMovePathGenerator
>
Readonly
plugins
plugins
:
Map
<
string
,
IContainerPlugin
>
Readonly
retina
retina
:
Retina
Readonly
shape
Drawers
shape
Drawers
:
Map
<
string
,
IShapeDrawer
<
Particle
>
>
started
started
:
boolean
z
Layers
z
Layers
:
number
Accessors
animation
Status
get
animationStatus
(
)
:
boolean
Returns
boolean
options
get
options
(
)
:
Options
Returns
Options
source
Options
get
sourceOptions
(
)
:
undefined
|
RecursivePartial
<
IOptions
>
Returns
undefined
|
RecursivePartial
<
IOptions
>
Methods
add
Click
Handler
add
Click
Handler
(
callback
)
:
void
Parameters
callback
:
(
(
evt
:
Event
,
particles
?:
Particle
[]
)
=>
void
)
(
evt
,
particles
?
)
:
void
Parameters
evt
:
Event
Optional
particles
:
Particle
[]
Returns
void
Returns
void
add
Life
Time
add
Life
Time
(
value
)
:
void
Parameters
value
:
number
Returns
void
add
Path
add
Path
(
key
,
generator
,
override
?
)
:
boolean
Parameters
key
:
string
generator
:
IMovePathGenerator
Optional
override
:
boolean
Returns
boolean
alive
alive
(
)
:
boolean
Returns
boolean
clear
Click
Handlers
clear
Click
Handlers
(
)
:
void
Returns
void
destroy
destroy
(
remove
?
)
:
void
Parameters
Optional
remove
:
boolean
Returns
void
draw
draw
(
force
)
:
void
Parameters
force
:
boolean
Returns
void
export
export
(
type
,
options
?
)
:
Promise
<
undefined
|
Blob
>
Parameters
type
:
string
Optional
options
:
Record
<
string
,
unknown
>
Returns
Promise
<
undefined
|
Blob
>
handle
Click
Mode
handle
Click
Mode
(
mode
)
:
void
Parameters
mode
:
string
Returns
void
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
load
Theme
load
Theme
(
name
?
)
:
Promise
<
void
>
Parameters
Optional
name
:
string
Returns
Promise
<
void
>
pause
pause
(
)
:
void
Returns
void
play
play
(
force
?
)
:
void
Parameters
Optional
force
:
boolean
Returns
void
refresh
refresh
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
reset
reset
(
sourceOptions
?
)
:
Promise
<
void
>
Parameters
Optional
sourceOptions
:
RecursivePartial
<
IOptions
>
Returns
Promise
<
void
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
void
Returns
void
update
Actual
Options
update
Actual
Options
(
)
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
actual
Options
add
Absorber
canvas
destroyed
effect
Drawers
fps
Limit
get
Absorber
id
interactivity
page
Hidden
particles
path
Generators
plugins
retina
shape
Drawers
started
z
Layers
Accessors
animation
Status
options
source
Options
Methods
add
Click
Handler
add
Life
Time
add
Path
alive
clear
Click
Handlers
destroy
draw
export
handle
Click
Mode
init
load
Theme
pause
play
refresh
reset
start
stop
update
Actual
Options
tsParticles - v3.0.0
Loading...