UNPKG
@exezt-/webamp-custom
Version:
latest (0.0.2-next-d2fcbc6)
0.0.2-next-d2fcbc6
0.0.1-next-d2fcbc6
Winamp 2 implemented in HTML5 and JavaScript
@exezt-/webamp-custom
/
built
/
types
/
js
/
emitter.d.ts
10 lines
(9 loc)
•
277 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
default
class
Emitter
{
_listeners
: { [
event
:
string
]:
Array
<
(
...
args
:
any
[]
) =>
void
>; };
constructor
(
);
on
(
event
:
string
,
callback
:
(
...
args
:
any
[]
) =>
void
):
() =>
void
;
trigger
(
event
:
string
, ...
args
:
any
[]):
void
;
dispose
():
void
; }