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 2240babb6b33e7f27e8c154f27b98d3d3d92c103..64d51debdc7f7f9273acd85d86f4717c16e3b2e6 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 @@ -68,6 +68,7 @@ struct PopupExample { .bindPopup(this.noHandlePopup, { message: 'content1 content1', placementOnTop: false, + showInSubWindow:true, onStateChange: (e) => { console.info(e.isVisible.toString()) if (!e.isVisible) { @@ -84,6 +85,7 @@ struct PopupExample { .bindPopup(this.handlePopup, { message: 'content2 content2', placementOnTop: true, + showInSubWindow:false, primaryButton: { value: 'ok', action: () => { @@ -107,6 +109,7 @@ struct PopupExample { maskColor: 0x33000000, popupColor: Color.White, enableArrow: true, + showInSubWindow:false, onStateChange: (e) => { if (!e.isVisible) { this.customPopup = false