Lines Matching refs:dialog
3 The **PromptAction** module provides APIs for creating and showing toasts, dialog boxes, and action…
11 …tion-models/serviceextensionability.md)<!--DelEnd-->, you should use the dialog APIs provided by *…
192 Shows a dialog box. This API uses a promise to return the result asynchronously.
208 …ssResponse](#showdialogsuccessresponse)> | Promise used to return the dialog box response resul…
259 Shows a dialog box. This API uses an asynchronous callback to return the result.
270 …e](#showdialogsuccessresponse)> | Yes | Callback used to return the dialog box response resul…
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')
557 console.log("dialog onWillDismiss")
577 This example demonstrates how to set styles of a dialog box, including the width, height, backgroun…
586 Text('Custom dialog Message').fontSize(10)
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 …string \| [Resource](arkui-ts/ts-types.md#resource) | No | Title of the dialog box.<br>**Atomic s…
720 …utton)> | No | Array of buttons in the dialog box. The array str…
721 …dialog-box.md#dialogalignment) | No | Alignment mode of the dialog box in the vertical direction.…
722 …rkui-ts/ts-types.md#offset) | No | Offset of the dialog box based on the *…
723 … | [Rectangle](arkui-ts/ts-methods-alert-dialog-box.md#rectangle8) | No | Mask area of the…
724 …dialog box in a sub-window.<br>Default value: **false**<br>**NOTE**<br>A dialog box whose **showIn…
725 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, whi…
726 …i-ts/ts-types.md#resourcecolor) | No | Background color of the dialog box.<br>Default va…
727 …ttributes-background.md#blurstyle9) | No | Background blur style of the dialog box.<br>Default va…
728 …e10) | No | Shadow of the dialog box.<br> Default value on 2-in-1 devices: **ShadowStyle.OUTER_FL…
730 …ts/ts-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover s…
734 Describes the dialog box response result.
752 …string \| [Resource](arkui-ts/ts-types.md#resource) | No | Title of the dialog box.<br>**Atomic s…
754 …dialog box in a sub-window.<br>Default value: **false**, indicating that the dialog box is not dis…
755 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, whi…
771 Defines the options of the custom dialog box. This API extends [BaseDialogOptions](#basedialogoptio…
779 …dialog box.<br>**NOTE**<br>The builder needs to be assigned an arrow function in the following for…
780 …olor](arkui-ts/ts-types.md#resourcecolor) | No| Background color of the dialog box.<br>Default va…
782 …dialog box.<br>You can set the width for all four sides or set separate widths for individual side…
783 …EdgeColors](arkui-ts/ts-types.md#edgecolors9) | No| Border color of the dialog box.<br>Default va…
784 …EdgeStyles](arkui-ts/ts-types.md#edgestyles9) | No| Border style of the dialog box.<br>Default va…
785 …dialog box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parame…
786 …dialog box.<br>**NOTE**<br>- Default maximum height of the dialog box: 0.9 x (Window height – Safe…
787 …le10) | No| Shadow of the dialog box.<br>Default value on 2-in-1 devices: **ShadowStyle.OUTER_FL…
788 …ound.md#blurstyle9) | No | Background blur style of the dialog box.<br>Default va…
792 Defines the options of the dialog box.
800 | maskRect | [Rectangle](arkui-ts/ts-methods-alert-dialog-box.md#rectangle8) | No | Mask ar…
801 …dialog-box.md#dialogalignment) | No | Alignment mode of the dialog box in the vertical direction.…
802 …](arkui-ts/ts-types.md#offset) | No | Offset of the dialog box based on the *…
803 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, whi…
804 … | No | Whether to show the dialog box in a sub-windo…
805 …dialog box.<br>**NOTE**<br>1. If this callback is registered, the dialog box will not be dismissed…
806 … | No | Whether to dismiss the dialog box when the mask is touched. The value **true** means t…
808 …tioneffect10) | No | Transition effect for the entrance and exit of the dialog box.<br>**NOTE**<b…
809 …dialog box appears.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWillAppear > onD…
810 | onDidDisappear<sup>12+</sup> | () => void | No| Event callback when the dialog box disappears.<br…
811 …dialog box is about to appear.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWillA…
812 …dialog box is about to disappear.<br>**NOTE**<br>1. The normal timing sequence is as follows: onWi…
813 | keyboardAvoidMode<sup>12+</sup> | [KeyboardAvoidMode](#keyboardavoidmode12) | No| How the dialog …
815 …ts/ts-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover s…
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 di…
830 …ason12) | No | No | Reason why the dialog box cannot be dismissed. You must specify whether to d…
866 …dialog box has focus and the **Tab** key is not pressed for sequential focus navigation. If there …