فهرست منبع

Addressing minor review comments.

Brian E. Granger 4 سال پیش
والد
کامیت
ec81938765
2فایلهای تغییر یافته به همراه12 افزوده شده و 2 حذف شده
  1. 4 2
      packages/apputils/src/toolbar.tsx
  2. 8 0
      packages/docmanager/src/manager.ts

+ 4 - 2
packages/apputils/src/toolbar.tsx

@@ -459,8 +459,10 @@ export namespace ToolbarButtonComponent {
     enabled?: boolean;
 
     /**
-     * Trigger the button on the actual onClick event rather than onMouseDown. See note below as to why the
-     * default is to trigger on onMouseDown.
+     * Trigger the button on the actual onClick event rather than onMouseDown.
+     *
+     * See note in ToolbarButtonComponent below as to why the default is to
+     * trigger on onMouseDown.
      */
     actualOnClick?: boolean;
   }

+ 8 - 0
packages/docmanager/src/manager.ts

@@ -78,10 +78,18 @@ export class DocumentManager implements IDocumentManager {
     return this._activateRequested;
   }
 
+  /**
+   * The document mode of the document manager, either 'single-document' or 'multiple-document'.
+   *
+   * This is usually synced with the `mode` attribute of the shell.
+   */
   get mode(): string {
     return this._mode;
   }
 
+  /**
+   * Set the mode of the document manager, either 'single-document' or 'multiple-document'.
+   */
   set mode(value: string) {
     this._mode = value;
   }