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.
- package/package.json +1 -1
- package/types/draw.d.ts +15 -1
package/package.json
CHANGED
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
|
}
|