UNPKG

@actualwave/event-dispatcher

Version:

EventDispatcher is a JavaScript class that adds events support to custom objects.

7 lines (6 loc) 395 B
import { Event, getEvent } from './Event'; import EventDispatcher, { createEventDispatcher } from './EventDispatcher'; import { isObject } from './utils'; export default EventDispatcher; export { Event, EventDispatcher, createEventDispatcher, getEvent, isObject }; export type { EventObject, DispatchedEvent, EventType, EventListener, EventProcessor, IEventDispatcher } from './TypeDefinition';