Interface IListenerSource<E>

interface IListenerSource<E> {
    addEventListener(type, listener, options?): RemoveListener;
}

Type Parameters

Hierarchy (view full)

Methods

  • Add a listener. This is very similar to default javascript listeners except the offer a few additional options and there is no remove listener.

    These add listeners return a function that can be called to remove the listener. Additionally they honor transactional boundaries.

    Listeners are fired in the order that they are added.

    Parameters

    Returns RemoveListener