Module

engine/view/observer/bubblingemittermixin

@ckeditor/ckeditor5-engine/src/view/observer/bubblingemittermixin

module

Filtering

Interfaces

Type Definitions

Functions

  • BubblingEmitterMixin( base ) → Mixed<Base, BubblingEmitter>

    Bubbling emitter mixin for the view document as described in the BubblingEmitter interface.

    This function creates a class that inherits from the provided base and implements Emitter interface. The base class must implement Emitter interface.

    class BaseClass extends EmitterMixin() {
    	// ...
    }
    
    class MyClass extends BubblingEmitterMixin( BaseClass ) {
    	// This class derives from `BaseClass` and implements the `BubblingEmitter` interface.
    }
    

    Type parameters

    Base : extends Constructor<Emitter>

    Parameters

    base : Base

    Returns

    Mixed<Base, BubblingEmitter>