ソースを参照

Docs: Views can be actually an iterable.

Marek Lewandowski 5 年 前
コミット
b2c408c762
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 ) {