Interface

ToolbarBehavior (ui/toolbar)

@ckeditor/ckeditor5-ui/src/toolbar/toolbarview

interface private

A class interface defining the behavior of the ToolbarView.

Toolbar behaviors extend its look and functionality and have an impact on the element template or rendering. They can be enabled conditionally, e.g. depending on the configuration of the toolbar.

Filtering

Properties

  • destroy : function

    readonly

    A method called after the toolbar has been destroyed. It allows cleaning up after the toolbar behavior, for instance, this is the right place to detach event listeners, free up references, etc.

  • render : function

    readonly

    A method called after the toolbar has been rendered. It can be used to, for example, customize the behavior of the toolbar when its element is available.

    Parameters

    view : ToolbarView

    An instance of the toolbar being rendered.