Kaynağa Gözat

Docs: Views can be actually an iterable.

Marek Lewandowski 5 yıl önce
ebeveyn
işleme
b2c408c762
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 ) {