From 7952bee2f4bcc931979a4b282989f242b2ab3917 Mon Sep 17 00:00:00 2001 From: huangdong57 Date: Thu, 8 Jun 2023 11:16:56 +0800 Subject: [PATCH] add offset description Signed-off-by: huangdong57 --- .../reference/arkui-ts/ts-universal-attributes-popup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md index 1d45e6767f..11f9a89b73 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-popup.md @@ -29,8 +29,8 @@ | messageOptions10+ | [PopupMessageOptions](#popupmessageoptions10) | 否 | 设置弹窗信息文本参数。 | | targetSpace10+ | [Length](ts-types.md#length) | 否 | 设置popup与目标的间隙。 | | placement10+ | [Placement](ts-appendix-enums.md#placement8) | 否 | 设置popup组件相对于目标的显示位置,默认值为Placement.Bottom。
如果同时设置了`placementOnTop`和`placement`,则以`placement`的设置生效。 | -| offset10+ | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。 | -| enableArrow10+ | boolean | 否 | 设置是否显示箭头。
默认值:true | +| offset10+ | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。
**说明:**
不支持设置百分比。 | +| enableArrow10+ | boolean | 否 | 设置是否显示箭头。
默认值:true | ## PopupMessageOptions10+类型说明 @@ -52,7 +52,7 @@ | showInSubWindow9+ | boolean | 否 | 是否在子窗口显示气泡,默认值为false。 | | mask10+ | boolean \| [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置气泡是否有遮罩层及遮罩颜色。如果设置为false,则没有遮罩层;如果设置为true,则设置有遮罩层并且颜色为透明色;如果设置为Color,则为遮罩层的颜色。 | | targetSpace10+ | [Length](ts-types.md#length) | 否 | 设置popup与目标的间隙。 | -| offset10+ | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。 | +| offset10+ | [Position](ts-types.md#position8) | 否 | 设置popup组件相对于placement设置的显示位置的偏移。
**说明:**
不支持设置百分比。 | ## 示例 ```ts -- GitLab