Lines Matching refs:dialog

3dialog box is a dialog box you customize by using APIs of the **CustomDialogController** class. Yo…
14 Defines a custom dialog box.
18 > No parameters of the custom dialog box can be dynamically updated.
28 …ogControllerOptions](#customdialogcontrolleroptions) | Yes | Parameters of the custom dialog box.|
36 …mDialog](../../../ui/arkts-common-components-custom-dialog.md) | Yes | Builder of the custom dia…
37 … | () => void | No | Callback invoked when the dialog box is closed afte…
38 … | No | Whether to close the dialog box when the mask is touched. The value **true** means …
39 … | [DialogAlignment](ts-methods-alert-dialog-box.md#dialogalignment) | No | Alignment mode o…
40 … | [Offset](ts-types.md#offset) | No | Offset of the dialog box relative to th…
41dialog box.<br>When this parameter is set to **false** (default value):<br>1. The rounded corner r…
42 …ns](../../../ui/arkts-layout-development-grid-layout.md) occupied by the dialog box.<br>The defaul…
44 …0+</sup> | [Rectangle](ts-methods-alert-dialog-box.md#rectangle8) | No | Mask area of th…
45 …animateparam) | No | Parameters for defining the open animation of the dialog box.<br>**NOTE**<b…
46 …nimateparam) | No | Parameters for defining the close animation of the dialog box.<br>**NOTE**<b…
47dialog box in a sub-window when the dialog box needs to be displayed outside the main window.<br>D…
48 …ceColor](ts-types.md#resourcecolor) | No | Background color of the dialog box.<br>Default va…
50 …sup> | boolean | No| Whether the dialog box is a modal. A modal dialog box has a mask applied, whi…
51dialog box.<br>**NOTE**<br>1. If this callback is registered, the dialog box will not be closed im…
52dialog box.<br>You can set the width for all four sides or set separate widths for individual side…
53 …lor) \| [EdgeColors](ts-types.md#edgecolors9) | No| Border color of the dialog box.<br>Default va…
54 …yle) \| [EdgeStyles](ts-types.md#edgestyles9) | No| Border style of the dialog box.<br>Default va…
55dialog box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parame…
56dialog box.<br>**NOTE**<br>- Default maximum height of the dialog box: 0.9 x (Window height – Safe…
57 …e10) | No| Shadow of the dialog box.<br> Default value on 2-in-1 devices: **ShadowStyle.OUTER_FL…
58 …ound.md#blurstyle9) | No | Background blur style of the dialog box.<br>Default va…
59 …AvoidMode](../js-apis-promptAction.md#keyboardavoidmode12) | No| How the dialog box avoids the sof…
61 …e](ts-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover s…
65 > - Pressing the Back or ESC key closes the dialog box.
66 > - If the dialog box reaches its maximum allowable height on the screen when avoiding the soft key…
67 …, since the container does not clip its content by default, parts of the dialog box may still be d…
68 > - Use the custom dialog box to contain simple alert messages only. Do not use it as a page. When …
70dialog boxes do not close automatically when you switch pages unless you manually call **close**. …
74 Provides information about the action to dismiss the dialog box.
84 … | No | No | Callback for dismissing the dialog box. This API is called only when the di…
85 …eason12) | No | No | Reason why the dialog box cannot be dismissed. You must specify whether to …
103 Opens the content of the custom dialog box. This API can be called multiple times. If the dialog bo…
118 Closes the custom dialog box. If the dialog box is closed, this API does not take effect.
131 Text('I'm the second dialog box')
154 console.log("dialog onWillDismiss")
223 console.log("dialog onWillDismiss")
307 console.log("dialog onWillDismiss")
356 This example demonstrates how to set styles of a custom dialog box, including the width, height, ba…
368 Text('This is a custom dialog box')
393 console.log("dialog onWillDismiss")
447 This example demonstrates how to set the layout area of a dialog box in the hover state on a foldab…
501 console.log("dialog onWillDismiss");