Sign up (with export icon)

EmitterMixinDelegateChain

Api-interface icon interface

Methods

  • Chevron-right icon

    to( emitter, [ nameOrFunction ] ) → void

    Selects destination for delegate events.

    Parameters

    emitter : Emitter

    An EmitterMixin instance which is the destination for delegated events.

    [ nameOrFunction ] : string | ( name: string ) => string

    A custom event name or function which converts the original name string.

    Returns

    void