diff --git a/zh-cn/application-dev/quick-start/arkts-two-way-sync.md b/zh-cn/application-dev/quick-start/arkts-two-way-sync.md index 5125c3d175088b72e4c1bcee7ded687ddaddb342..48bdcb5a4d645d9a693eb6ba69b58333838eb945 100644 --- a/zh-cn/application-dev/quick-start/arkts-two-way-sync.md +++ b/zh-cn/application-dev/quick-start/arkts-two-way-sync.md @@ -37,6 +37,8 @@ $$运算符为系统内置组件提供TS变量的引用,使得TS变量和系 | [Toggle](../reference/arkui-ts/ts-basic-components-toggle.md) | isOn | 10 | | [AlphabetIndexer](../reference/arkui-ts/ts-container-alphabet-indexer.md) | selected | 10 | | [Select](../reference/arkui-ts/ts-basic-components-select.md) | selected、value | 10 | + | [BindSheet](../reference/arkui-ts/ts-universal-attributes-sheet-transition.md) | isShow | 10 | + | [BindContentCover](../reference/arkui-ts/ts-universal-attributes-modal-transition.md) | isShow | 10 | - $$绑定的变量变化时,会触发UI的同步刷新。 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-modal-transition.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-modal-transition.md index c661f07803991f13a0eb8ae9ca925764e86f9b63..486fb91c866cfd8fe92d2e161e4a1b469e13996f 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-modal-transition.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-modal-transition.md @@ -11,7 +11,7 @@ | 名称 | 参数 | 参数描述 | | ----- | ----- | ----- | -| bindContentCover | isShow: boolean,
builder: [CustomBuilder](ts-types.md#custombuilder8),
options?: [ContentCoverOptions](#contentcoveroptions) | 给组件绑定全屏模态页面,点击后显示模态页面。模态页面内容自定义,显示方式可设置无动画过渡,上下切换过渡以及透明渐变过渡方式。
isShow: 必填,是否显示全屏模态页面。
builder: 必填,配置全屏模态页面内容。
options: 非必填,配置全屏模态页面的可选属性。 | +| bindContentCover | isShow: boolean,
builder: [CustomBuilder](ts-types.md#custombuilder8),
options?: [ContentCoverOptions](#contentcoveroptions) | 给组件绑定全屏模态页面,点击后显示模态页面。模态页面内容自定义,显示方式可设置无动画过渡,上下切换过渡以及透明渐变过渡方式。
isShow: 必填,是否显示全屏模态页面。
从API version 10开始,该参数支持[$$](../../quick-start/arkts-two-way-sync.md)双向绑定变量
builder: 必填,配置全屏模态页面内容。
options: 非必填,配置全屏模态页面的可选属性。 | ## ContentCoverOptions | 名称 | 类型 | 必填 | 描述 | |-----|-----|-----|-----| @@ -302,4 +302,4 @@ struct ModalTransitionExample { } ``` -![zh-cn_full_screen_modal_alpha](figures/zh-cn_full_screen_modal_alpha.gif) \ No newline at end of file +![zh-cn_full_screen_modal_alpha](figures/zh-cn_full_screen_modal_alpha.gif) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-sheet-transition.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-sheet-transition.md index 5f08fc9b40dc2af239bfe43b404a315732120e75..cd4b54120254738aa2475338eb1735175ec46add 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-sheet-transition.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-sheet-transition.md @@ -12,8 +12,12 @@ | 名称 | 参数 | 参数描述 | | ----- | ----- | ----- | -| bindSheet | isShow: boolean,
builder: [CustomBuilder](ts-types.md#custombuilder8),
options?: [SheetOptions](#sheetoptions) | 给组件绑定半模态页面,点击后显示模态页面。
isShow: 必填,是否显示半模态页面。
builder: 必填,配置半模态页面内容。
options: 非必填,配置半模态页面的可选属性。 | - +| bindSheet | isShow: boolean,
builder: [CustomBuilder](ts-types.md#custombuilder8),
options?: [SheetOptions](#sheetoptions) | 给组件绑定半模态页面,点击后显示模态页面。
isShow: 必填,是否显示半模态页面。
从API version 10开始,该参数支持[$$](../../quick-start/arkts-two-way-sync.md)双向绑定变量
builder: 必填,配置半模态页面内容。
options: 非必填,配置半模态页面的可选属性。 | +> **说明:** +> +> 在非双向绑定情况下,以拖拽方式关闭半模态页面不会改变isShow参数的值。 +> +> 为了使isShow参数值与半模态界面的状态同步,建议使用[$$](../../quick-start/arkts-two-way-sync.md)双向绑定isShow参数。 ## SheetOptions | 名称 | 类型 | 必填 | 描述 | @@ -94,4 +98,4 @@ struct SheetTransitionExample { } ``` -![zh-cn_sheet](figures/zh-cn_sheet.gif) \ No newline at end of file +![zh-cn_sheet](figures/zh-cn_sheet.gif)