Browse Source

Docs: Minor changes.

Oskar Wróbel 7 years ago
parent
commit
e110e58fa3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/ckeditor5-core/src/pendingactions.js

+ 3 - 0
packages/ckeditor5-core/src/pendingactions.js

@@ -76,7 +76,10 @@ export default class PendingActions extends Plugin {
 	/**
 	/**
 	 * Adds action to the list of pending actions.
 	 * Adds action to the list of pending actions.
 	 *
 	 *
+	 * Methods returns an object with observable message property. Message can be changed.
+	 *
 	 * @param {String} message
 	 * @param {String} message
+	 * @returns {Object} Observable object that represents a pending action.
 	 */
 	 */
 	add( message ) {
 	add( message ) {
 		if ( typeof message !== 'string' ) {
 		if ( typeof message !== 'string' ) {