Interface EventDispatcher<TEventMap>

Dispatches events that are fired.

interface EventDispatcher<TEventMap> {
    addEventListener<TType>(type, listener): void;
    removeEventListener<TType>(type, listener): void;
}

Type Parameters

Hierarchy (view full)

Methods