Преглед на файлове

Docs: Views can be actually an iterable.

Marek Lewandowski преди 5 години
родител
ревизия
3f772d7357
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-ui/src/view.js

+ 1 - 1
packages/ckeditor5-ui/src/view.js

@@ -276,7 +276,7 @@ export default class View {
 	 *		// <p><child#element></p>
 	 *		view.items.add( child );
 	 *
-	 * @param {Array.<module:ui/view~View>} [views] Initial views of the collection.
+	 * @param {Iterable.<module:ui/view~View>} [views] Initial views of the collection.
 	 * @returns {module:ui/viewcollection~ViewCollection} A new collection of view instances.
 	 */
 	createCollection( views ) {