Ver Fonte

Extended documentation of Region class.

Aleksander Nowodzinski há 10 anos atrás
pai
commit
d283d546db
1 ficheiros alterados com 4 adições e 3 exclusões
  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 ) {