Birb / EventDispatcher
Class: EventDispatcher<T>
Type parameters
Name | Type |
---|---|
T | extends string |
Hierarchy
-
EventDispatcher
↳
Birb
Table of contents
Constructors
Methods
Constructors
constructor
• new EventDispatcher<T
>()
Type parameters
Name | Type |
---|---|
T | extends string |
Defined in
src/classes/EventDispatcher.ts:10
Methods
clear
▸ clear(): void
Returns
void
Defined in
src/classes/EventDispatcher.ts:35
when
▸ when(event
): EventListener
<T
, Function
>
Parameters
Name | Type |
---|---|
event | T |
Returns
Defined in
src/classes/EventDispatcher.ts:14