Interface

EmitterMixinDelegateChain (utils)

@ckeditor/ckeditor5-utils/src/emittermixin

interface

The return value of delegate.

Filtering

Methods

  • to( emitter, [ nameOrFunction ] ) → void

    Selects destination for delegate events.

    Parameters

    emitter : Emitter

    An EmitterMixin instance which is the destination for delegated events.

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

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

    Returns

    void