8
0
Просмотр исходного кода

Docs: Updated ListDropdownItemDefinition docs with the switchbutton.

Aleksander Nowodzinski 7 лет назад
Родитель
Сommit
92e820fb79
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-ui/src/dropdown/utils.js

+ 1 - 1
packages/ckeditor5-ui/src/dropdown/utils.js

@@ -268,7 +268,7 @@ function focusDropdownContentsOnArrows( dropdownView ) {
  *
  * @typedef {Object} module:ui/dropdown/utils~ListDropdownItemDefinition
  *
- * @property {String} type Either `'separator'` or `'button'`.
+ * @property {String} type Either `'separator'`, `'button'` or `'switchbutton'`.
  * @property {module:ui/model~Model} [model] Model of the item (when **not** `'separator'`).
  * Its properties fuel the newly created list item (or its children, depending on the `type`).
  */