ms-types 0.10.20 → 0.11.0

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/web.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.10.20",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "types": "./types/index.d.ts",
package/types/web.d.ts CHANGED
@@ -160,7 +160,7 @@ declare namespace ms {
160
160
 
161
161
  /**
162
162
  * 设置点击空白处是否关闭网页窗口 仅越狱包可用
163
- * 每次打开默认不允许。传 true 后,点窗口外遮罩会关闭网页窗口,不影响悬浮球和日志窗口。免越狱包调用返回 false
163
+ * 每次打开默认点空白就关闭。传 false 后空白处不关,由网页按钮调用 closeWebWindow。不影响悬浮球和日志窗口。免越狱包调用返回 false
164
164
  * @param allowed true 允许点空白关闭,false 不关
165
165
  * @returns 如果设置成功返回 true,否则返回 false
166
166
  * @example ms.setWebWindowBlankClose(true)