Class

TemplateToBinding (ui)

@ckeditor/ckeditor5-ui/src/template

class protected

Describes either:

  • a binding to an Observable,
  • or a native DOM event binding.

It is created by the to method.

Filtering

Methods

  • activateDomEventListener( domEvtName, domSelector, data ) → function

    Activates the listener for the native DOM event, which when fired, is propagated by the emitter.

    Parameters

    domEvtName : String

    The name of the native DOM event.

    domSelector : String

    The selector in the DOM to filter delegated events.

    data : RenderData

    Rendering data.

    Returns

    function

    A function to sever the listener binding.