Procházet zdrojové kódy

Improved docs links.

Piotr Jasiun před 6 roky
rodič
revize
0d618b0b19

+ 7 - 7
packages/ckeditor5-ui/src/panel/balloon/contextualballoon.js

@@ -44,7 +44,8 @@ import '../../../theme/components/panel/balloonrotator.css';
  *
  *
  * From the implementation point of view, contextual ballon plugin is reusing a single
  * From the implementation point of view, contextual ballon plugin is reusing a single
  * {@link module:ui/panel/balloon/balloonpanelview~BalloonPanelView} instance to display multiple contextual balloon
  * {@link module:ui/panel/balloon/balloonpanelview~BalloonPanelView} instance to display multiple contextual balloon
- * panels in the editor. It also creates a special rotator view, used to manage multiple panel stacks. Rotator
+ * panels in the editor. It also creates a special {@link module:ui/panel/balloon/contextualballoon~RotatorView rotator view},
+ * used to manage multiple panel stacks. Rotator
  * view is a child of the balloon panel view and the parent of the specific view you want to display. If there is are
  * view is a child of the balloon panel view and the parent of the specific view you want to display. If there is are
  * more than one panel stack to be displayed, the rotator view will add a navigation bar. If there is only one stack,
  * more than one panel stack to be displayed, the rotator view will add a navigation bar. If there is only one stack,
  * rotator view is transparent (do not add any UI elements).
  * rotator view is transparent (do not add any UI elements).
@@ -89,8 +90,7 @@ export default class ContextualBalloon extends Plugin {
 		};
 		};
 
 
 		/**
 		/**
-		 * The currently visible view or `null` when there are no
-		 * views in the currently visible stack.
+		 * The currently visible view or `null` when there are no views in the any stack.
 		 *
 		 *
 		 * @readonly
 		 * @readonly
 		 * @observable
 		 * @observable
@@ -139,7 +139,7 @@ export default class ContextualBalloon extends Plugin {
 		 * Displays currently visible view in the balloon and provides navigation for switching stacks.
 		 * Displays currently visible view in the balloon and provides navigation for switching stacks.
 		 *
 		 *
 		 * @private
 		 * @private
-		 * @type {~RotatorView}
+		 * @type {module:ui/panel/balloon/contextualballoon~RotatorView}
 		 */
 		 */
 		this._rotatorView = this._createRotatorView();
 		this._rotatorView = this._createRotatorView();
 	}
 	}
@@ -348,7 +348,7 @@ export default class ContextualBalloon extends Plugin {
 	 * Creates a rotator view.
 	 * Creates a rotator view.
 	 *
 	 *
 	 * @private
 	 * @private
-	 * @returns {~RotatorView}
+	 * @returns {module:ui/panel/balloon/contextualballoon~RotatorView}
 	 */
 	 */
 	_createRotatorView() {
 	_createRotatorView() {
 		const view = new RotatorView( this.editor.locale );
 		const view = new RotatorView( this.editor.locale );
@@ -438,8 +438,8 @@ export default class ContextualBalloon extends Plugin {
 }
 }
 
 
 /**
 /**
- * Rotator view. Used for displaying last view from the current stack.
- * Provides navigation buttons for switching stacks.
+ * Rotator view is a helper class for the {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon ContextualBalloon}.
+ * Used for displaying last view from the current stack. Provides navigation buttons for switching stacks.
  *
  *
  * @extends module:ui/view~View
  * @extends module:ui/view~View
  */
  */