Explorar el Código

Add docs to hasValidSelection.

Maciej Gołaszewski hace 6 años
padre
commit
b60a8d3ff4
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  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;