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

!18828 bindPopup支持设置相对放置位置的偏移 Doc

Merge pull request !18828 from huangdong/RM025
......@@ -29,6 +29,7 @@
| messageOptions<sup>10+</sup> | [PopupMessageOptions](#popupmessageoptions10) | 否 | 设置弹窗信息文本参数。 |
| targetSpace<sup>10+</sup> | [Length](ts-types.md#length) | 否 | 设置popup与目标的间隙。 |
| placement<sup>10+</sup> | [Placement](ts-appendix-enums.md#placement8) | 否 | 设置popup组件相对于目标的显示位置,默认值为Placement.Bottom。<br />如果同时设置了`placementOnTop``placement`,则以`placement`的设置生效。 |
| offset<sup>10+</sup> | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。 |
## PopupMessageOptions<sup>10+</sup>类型说明
......@@ -50,6 +51,7 @@
| showInSubWindow<sup>9+</sup> | boolean | 否 | 是否在子窗口显示气泡,默认值为false。 |
| mask<sup>10+</sup> | boolean&nbsp;\|&nbsp;[ResourceColor](ts-types.md#resourcecolor) | 否 | 设置气泡是否有遮罩层及遮罩颜色。如果设置为false,则没有遮罩层;如果设置为true,则设置有遮罩层并且颜色为透明色;如果设置为Color,则为遮罩层的颜色。 |
| targetSpace<sup>10+</sup> | [Length](ts-types.md#length) | 否 | 设置popup与目标的间隙。 |
| offset<sup>10+</sup> | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。 |
## 示例
```ts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册