You need to sign in or sign up before continuing.
未验证 提交 ff6bf233 编写于 作者: O openharmony_ci 提交者: Gitee

!17942 interface仓与doc仓接口描述统一

Merge pull request !17942 from ZhengJiangliang/cherry-pick-1683509702
...@@ -2542,7 +2542,7 @@ try { ...@@ -2542,7 +2542,7 @@ try {
### off('avoidAreaChange')<sup>9+</sup> ### off('avoidAreaChange')<sup>9+</sup>
off(type: 'avoidAreaChange', callback: Callback&lt;{AvoidAreaType, AvoidArea}&gt;): void off(type: 'avoidAreaChange', callback?: Callback&lt;{AvoidAreaType, AvoidArea}&gt;): void
关闭系统规避区变化的监听。 关闭系统规避区变化的监听。
...@@ -3056,7 +3056,7 @@ let colorSpace = windowClass.getWindowColorSpace(); ...@@ -3056,7 +3056,7 @@ let colorSpace = windowClass.getWindowColorSpace();
setWindowBackgroundColor(color: string): void setWindowBackgroundColor(color: string): void
设置窗口的背景色。Stage模型下,该接口需要在[loadContent](#loadcontent9)后使用。 设置窗口的背景色。Stage模型下,该接口需要在[loadContent()](#loadcontent9)[setUIContent()](#setuicontent9)调用生效后使用。
**系统能力:** SystemCapability.WindowManager.WindowManager.Core **系统能力:** SystemCapability.WindowManager.WindowManager.Core
...@@ -5266,7 +5266,7 @@ promise.then((data)=> { ...@@ -5266,7 +5266,7 @@ promise.then((data)=> {
setBackgroundColor(color: string, callback: AsyncCallback&lt;void&gt;): void setBackgroundColor(color: string, callback: AsyncCallback&lt;void&gt;): void
设置窗口的背景色,使用callback异步回调。Stage模型下,该接口需要在[loadContent](#loadcontent9)[setUIContent()](#setuicontent9)后使用。 设置窗口的背景色,使用callback异步回调。Stage模型下,该接口需要在[loadContent()](#loadcontent9)[setUIContent()](#setuicontent9)调用生效后使用。
> **说明:** > **说明:**
> >
...@@ -5298,7 +5298,7 @@ windowClass.setBackgroundColor(color, (err) => { ...@@ -5298,7 +5298,7 @@ windowClass.setBackgroundColor(color, (err) => {
setBackgroundColor(color: string): Promise&lt;void&gt; setBackgroundColor(color: string): Promise&lt;void&gt;
设置窗口的背景色,使用Promise异步回调。Stage模型下,该接口需要在[loadContent](#loadcontent9)[setUIContent()](#setuicontent9)后使用。 设置窗口的背景色,使用Promise异步回调。Stage模型下,该接口需要在[loadContent()](#loadcontent9)[setUIContent()](#setuicontent9)调用生效后使用。
> **说明:** > **说明:**
> >
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册