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

!23980 dialogRequest接口一致性整改

Merge pull request !23980 from wuhaohao7/add_0905
......@@ -196,11 +196,29 @@ getRequestCallback(want: Want): RequestCallback
}
```
## WindowRect<sup>10+</sup>
表示模态弹框的属性。
**系统能力**:SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 类型 | 必填 | 说明 |
| ---- | ------ | ---- | --------------------------- |
| left | number | 否 | 弹框边框的左上角的X坐标。 |
| top | number | 否 | 弹框边框的左上角的Y坐标。 |
| width | number | 否 | 弹框的宽度。 |
| height | number | 否 | 弹框的高度。 |
## RequestInfo
表示发起方请求信息,作为窗口绑定模态弹框的入参。
**系统能力**:SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ------------------| ------ | ---------------------- |
| windowRect<sup>10+</sup> | windowRect | 否 | 表示模态弹框的位置属性。 |
**示例:**
```ts
......@@ -313,6 +331,7 @@ getRequestCallback(want: Want): RequestCallback
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| result | [ResultCode](#resultcode) | 是 | 是 | 表示结果码。 |
| want<sup>10+</sup> | [ResultWant](js-apis-application-want.md) | 是 | 是 | 表示Want类型信息,如ability名称,包名等。。 |
## RequestCallback
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册