Class: EventListener<Event>
EventListener
Desc
Provides a generic event listener class that supports wildcard listeners
Type parameters
Name | Type |
---|---|
Event | extends string |
Constructors
constructor
• new EventListener<Event
>(): EventListener
<Event
>
Type parameters
Name | Type |
---|---|
Event | extends string |
Returns
EventListener
<Event
>
Properties
addEventListener
• addEventListener: ClassEventFunction
<Event
>
Defined in
packages/common/src/event-listener.ts:16
dispatchEvent
• dispatchEvent: DispatchEventFunction
<Event
>
Defined in
packages/common/src/event-listener.ts:33
removeEventListener
• removeEventListener: ClassEventFunction
<Event
>