Lines Matching refs:box
192 Shows a dialog box. This API uses a promise to return the result asynchronously.
202 | options | [ShowDialogOptions](#showdialogoptions) | Yes | Dialog box options.|
208 …Response](#showdialogsuccessresponse)> | Promise used to return the dialog box response result.|
259 Shows a dialog box. This API uses an asynchronous callback to return the result.
269 | options | [ShowDialogOptions](#showdialogoptions) | Yes | Dialog box options.|
270 …showdialogsuccessresponse)> | Yes | Callback used to return the dialog box response result. |
488 Opens a custom dialog box.
494 By default, the width of the dialog box in portrait mode is the width of the window where it is loc…
504 | options | [CustomDialogOptions](#customdialogoptions11) | Yes | Content of the custom dialog box…
510 | Promise<number> | ID of the custom dialog box, which can be used in **closeCustomDialog**.|
548 Text('In-component dialog box')
577 This example demonstrates how to set styles of a dialog box, including the width, height, backgroun…
653 Closes the specified custom dialog box.
663 | dialogId | number | Yes | ID of the custom dialog box to close. It is returned from **openCustom…
712 Describes the options for showing the dialog box.
718 …g \| [Resource](arkui-ts/ts-types.md#resource) | No | Title of the dialog box.<br>**Atomic servic…
720 …)> | No | Array of buttons in the dialog box. The array structur…
721 …box.md#dialogalignment) | No | Alignment mode of the dialog box in the vertical direction.<br>Def…
722 …ts/ts-types.md#offset) | No | Offset of the dialog box based on the **alig…
723 … | [Rectangle](arkui-ts/ts-methods-alert-dialog-box.md#rectangle8) | No | Mask area of the dialo…
724 …box in a sub-window.<br>Default value: **false**<br>**NOTE**<br>A dialog box whose **showInSubWind…
725 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, while a …
726 …ts-types.md#resourcecolor) | No | Background color of the dialog box.<br>Default value: …
727 …utes-background.md#blurstyle9) | No | Background blur style of the dialog box.<br>Default value: …
728 …| No | Shadow of the dialog box.<br> Default value on 2-in-1 devices: **ShadowStyle.OUTER_FLOATIN…
730 …-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover state.…
734 Describes the dialog box response result.
752 …g \| [Resource](arkui-ts/ts-types.md#resource) | No | Title of the dialog box.<br>**Atomic servic…
754 …box in a sub-window.<br>Default value: **false**, indicating that the dialog box is not displayed …
755 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, while a …
771 Defines the options of the custom dialog box. This API extends [BaseDialogOptions](#basedialogoptio…
779 …box.<br>**NOTE**<br>The builder needs to be assigned an arrow function in the following format: ()…
780 …(arkui-ts/ts-types.md#resourcecolor) | No| Background color of the dialog box.<br>Default value: …
782 …box.<br>You can set the width for all four sides or set separate widths for individual sides.<br>D…
783 …olors](arkui-ts/ts-types.md#edgecolors9) | No| Border color of the dialog box.<br>Default value: …
784 …tyles](arkui-ts/ts-types.md#edgestyles9) | No| Border style of the dialog box.<br>Default value: …
785 …box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parameter is …
786 …box.<br>**NOTE**<br>- Default maximum height of the dialog box: 0.9 x (Window height – Safe area)<…
787 … | No| Shadow of the dialog box.<br>Default value on 2-in-1 devices: **ShadowStyle.OUTER_FLOATING…
788 …md#blurstyle9) | No | Background blur style of the dialog box.<br>Default value: …
792 Defines the options of the dialog box.
800 | maskRect | [Rectangle](arkui-ts/ts-methods-alert-dialog-box.md#rectangle8) | No | Mask ar…
801 …box.md#dialogalignment) | No | Alignment mode of the dialog box in the vertical direction.<br>Def…
802 …ui-ts/ts-types.md#offset) | No | Offset of the dialog box based on the **alig…
803 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, while a …
804 … | No | Whether to show the dialog box in a sub-window.<br…
805 …box.<br>**NOTE**<br>1. If this callback is registered, the dialog box will not be dismissed immedi…
806 …No | Whether to dismiss the dialog box when the mask is touched. The value **true** means to dism…
808 …ffect10) | No | Transition effect for the entrance and exit of the dialog box.<br>**NOTE**<br> 1.…
809 …box appears.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWillAppear > onDidAppea…
810 | onDidDisappear<sup>12+</sup> | () => void | No| Event callback when the dialog box disappears.<br…
811 …box is about to appear.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWillAppear >…
812 …box is about to disappear.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWillAppea…
813 …12+</sup> | [KeyboardAvoidMode](#keyboardavoidmode12) | No| How the dialog box avoids the soft key…
815 …-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover state.…
819 Provides information about the action to dismiss the dialog box.
829 … | No | No | Callback for dismissing the dialog box. This API is called only when the dialog b…
830 …2) | No | No | Reason why the dialog box cannot be dismissed. You must specify whether to dismis…
866 …hether the button responds to the **Enter** key by default when the dialog box has focus and the *…