ms-types 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/draw.d.ts +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/draw.d.ts CHANGED
@@ -76,9 +76,23 @@ declare namespace draw {
76
76
  function clear(id?: string): void;
77
77
 
78
78
  /**
79
- * 关闭悬浮窗并清除绘制模块
79
+ * 关闭绘制层并清除绘制模块
80
80
  * @example
81
81
  * draw.close();
82
82
  */
83
83
  function close(): void;
84
+
85
+ /**
86
+ * 显示绘制层
87
+ * @example
88
+ * draw.show();
89
+ */
90
+ function show(): void;
91
+
92
+ /**
93
+ * 隐藏绘制层
94
+ * @example
95
+ * draw.hide();
96
+ */
97
+ function hide(): void;
84
98
  }