Ver Fonte

Add docs

Steven Silvester há 9 anos atrás
pai
commit
f0dd43923a
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/docmanager/index.ts

+ 4 - 0
src/docmanager/index.ts

@@ -617,6 +617,10 @@ class DocumentManager implements IDisposable {
 
   /**
    * Clone a widget.
+   *
+   * #### Notes
+   * This will create a new widget with the same model and context
+   * as the existing widget.
    */
   clone(widget: Widget): Widget {
     let parent = new Widget();