Typedef

ListDropdownItemDefinition (ui/dropdown)

@ckeditor/ckeditor5-ui/src/dropdown/utils

typedef
Object

A definition of the list item used by the addListToDropdown utility.

Filtering

Properties

  • model : Model

    Model of the item (when not 'separator'). Its properties fuel the newly created list item (or its children, depending on the type).

  • type : String

    Either 'separator', 'button' or 'switchbutton'.