tsParticles - v0.0.0
Preparing search index...
tsParticles Engine
Utils/EventDispatcher
EventDispatcher
Class EventDispatcher
Index
Constructors
constructor
Methods
add
Event
Listener
dispatch
Event
has
Event
Listener
remove
All
Event
Listeners
remove
Event
Listener
Constructors
constructor
new
EventDispatcher
()
:
EventDispatcher
Returns
EventDispatcher
Methods
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
CustomEventListener
)
:
void
Parameters
type
:
string
listener
:
CustomEventListener
Returns
void
dispatch
Event
dispatchEvent
(
type
:
string
,
args
?:
CustomEventArgs
)
:
void
Parameters
type
:
string
Optional
args
:
CustomEventArgs
Returns
void
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
remove
All
Event
Listeners
removeAllEventListeners
(
type
?:
string
)
:
void
Parameters
Optional
type
:
string
Returns
void
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
CustomEventListener
)
:
void
Parameters
type
:
string
listener
:
CustomEventListener
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Event
Listener
dispatch
Event
has
Event
Listener
remove
All
Event
Listeners
remove
Event
Listener
tsParticles - v0.0.0
Loading...