Kaynağa Gözat

Extended documentation of Region class.

Aleksander Nowodzinski 10 yıl önce
ebeveyn
işleme
d283d546db
1 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 4 3
      packages/ckeditor5-engine/src/ui/region.js

+ 4 - 3
packages/ckeditor5-engine/src/ui/region.js

@@ -50,8 +50,9 @@ CKEDITOR.define( [
 		}
 
 		/**
-		 * @param
-		 * @returns
+		 * Initializes region instance with an element. Usually it comes from {@link View#init}.
+		 *
+		 * @param {HTMLElement} regiobEl Element of this region.
 		 */
 		init( regionEl ) {
 			this.el = regionEl;
@@ -68,7 +69,7 @@ CKEDITOR.define( [
 		}
 
 		/**
-		 * Destroys the Region instance.
+		 * Destroys region instance.
 		 */
 		destroy() {
 			if ( this.el ) {