未验证 提交 d3c13889 编写于 作者: O openharmony_ci 提交者: Gitee

!1480 Done! 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-window.md.

Merge pull request !1480 from wusongqing/TR1428
......@@ -9,6 +9,10 @@
import window from '@ohos.window';
```
## System Capabilities
SystemCapability.WindowManager.WindowManager.Core
## Required Permissions<a name="section11257113618419"></a>
ohos.permission.SYSTEM\_FLOAT\_WINDOW
......@@ -638,7 +642,7 @@ Obtains the mode of this window.
```
window.getAbilityWindowMode((err, data) => {
if (err) {
console.error(''Failed to obtain the window mode. Cause:' + JSON.stringify(err));
console.error('Failed to obtain the window mode. Cause:' + JSON.stringify(err));
return;
}
console.info('Window mode obtained. Data:' + JSON.stringify(data))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册