Procházet zdrojové kódy

Add docs to hasValidSelection.

Maciej Gołaszewski před 6 roky
rodič
revize
b60a8d3ff4
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4 2
      packages/ckeditor5-table/src/tableselection.js

+ 4 - 2
packages/ckeditor5-table/src/tableselection.js

@@ -32,8 +32,10 @@ export default class TableSelection extends Plugin {
 	}
 
 	/**
-	 * a
-	 * @returns {Boolean}
+	 * Flag indicating that table selection is selecting valid ranges in table cell.
+	 *
+	 * @readonly
+	 * @member {Boolean} #hasValidSelection
 	 */
 	get hasValidSelection() {
 		return this._isSelecting && this._startElement && this._endElement && this._startElement != this._endElement;