Steven Silvester 9 年之前
父节点
当前提交
f0dd43923a
共有 1 个文件被更改,包括 4 次插入0 次删除
  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();