Options to set up the toolbar widget registry

interface IOptions {
    defaultFactory: ((widgetFactory, widget, toolbarItem) => Widget);



defaultFactory: ((widgetFactory, widget, toolbarItem) => Widget)

Default toolbar widget factory

The factory is receiving 3 arguments:

Type declaration

    • (widgetFactory, widget, toolbarItem): Widget
    • Parameters

      • widgetFactory: string

        The widget factory name that creates the toolbar

      • widget: Widget

        The newly widget containing the toolbar

      • toolbarItem: IWidget

        The toolbar item definition

      Returns Widget


The widget to be inserted in the toolbar.