Lines Matching refs:dialog
3 You can set the text content and response callback for an alert dialog box.
11 …](../js-apis-arkui-UIContext.md#uicontext), which ensures that the alert dialog box is shown in th…
19 Shows an alert dialog box.
29 …WithOptions](#alertdialogparamwithoptions10)<sup>10+</sup> | Yes| Options of the alert dialog box.|
37 …Str](ts-types.md#resourcestr) | No | Title of the dialog box.<br>**Atomic s…
38 …](ts-types.md#resourcestr) | No | Subtitle of the dialog box.<br>**Atomic s…
39 …](ts-types.md#resourcestr) | Yes | Content of the dialog box.<br>**Atomic s…
40 … | No | Whether to close the dialog box when the overlay is clicked. The value **true** means…
41 …dCallback](ts-types.md#voidcallback12) | No | Callback invoked when the dialog box is closed afte…
42 …dialog box in the vertical direction.<br>Default value: **DialogAlignment.Default**<br>**Atomic se…
43 …s-types.md#offset) | No | Offset of the dialog box relative to th…
44 … | No | Number of grid columns occupied by the width of the dialog box.<br>Default va…
45 …angle](#rectangle8) | No | Mask area of the dialog box. Events outsid…
46 …dialog box in a sub-window when the dialog box needs to be displayed outside the main window.<br>D…
47 … | No | Whether the dialog box is a modal. A modal dialog box has a mask applied, whi…
48 …ypes.md#resourcecolor) | No | Background color of the dialog box.<br>Default va…
49 …ound.md#blurstyle9) | No | Background blur style of the dialog box.<br>Default va…
50 …dialog box.<br>**NOTE**<br>1. If this callback is registered, the dialog box will not be closed im…
52 …tioneffect10) | No | Transition effect for the entrance and exit of the dialog box.<br>**NOTE**<b…
53 …dialog box.<br>**NOTE**<br>- Default maximum width of the dialog box: 400 vp<br>- When this parame…
54 …dialog box.<br>**NOTE**<br>- Default maximum height of the dialog box: 0.9 x (Window height – Safe…
55 … dialog box's width.<br>If the left and right borders are greater than its width, or the top and b…
56 …geColors](ts-types.md#LocalizedEdgeColors12) | No | Border color of the dialog box.<br>Default va…
57 …le) \| [EdgeStyles](ts-types.md#edgestyles9) | No | Border style of the dialog box.<br>Default va…
58 …e10) | No | Shadow of the dialog box.<br> Default value on 2-in-1 devices: **ShadowStyle.OUTER_FL…
59 … | [TextStyle](#textstyle12) | No | Text style of the message in the dialog box.<br>**Atomic s…
61 …e](ts-appendix-enums.md#hovermodeareatype13) | No | Display area of the dialog box in the hover s…
73 …he dialog box has focus and focus has not been shifted using the **Tab** key, the button responds …
103 …he dialog box has focus and focus has not been shifted using the **Tab** key, the button responds …
116 …ButtonOptions](#alertdialogbuttonoptions10)> | Yes | Buttons in the dialog box.|
127 …dialog box has focus and the **Tab** key is not pressed for sequential focus navigation. If there …
178 The **Rectangle** type is used to represent a mask area of a dialog box.
188 | x | [Length](ts-types.md#length) | No | X coordinate of the mask area of the dialog box rela…
189 | y | [Length](ts-types.md#length) | No | Y coordinate of the mask area of the dialog box rela…
190 | width | [Length](ts-types.md#length) | No | Width of the mask area of the dialog box.<br>Default…
191 | height | [Length](ts-types.md#length) | No | Height of the mask area of the dialog box.<br>Defaul…
203 Provides information about the action to dismiss the dialog box.
213 … | No | No | Callback for closing the dialog box. This API is called only when the di…
214 …sreason12) | No | No | Reason why the dialog box cannot be closed. You must specify whether to c…
234 This example shows three alert dialog boxes, with one, two, and three buttons, respectively.
243 Button('one button dialog')
265 console.log("dialog onWillDismiss")
277 Button('two button dialog')
309 console.log("dialog onWillDismiss")
320 Button('three button dialog')
361 console.log("dialog onWillDismiss")
381 This example shows an alert dialog box that can be displayed outside the main window.
394 Button('one button dialog')
437 console.log("dialog onWillDismiss")
455 This example sets a 3s entrance animation and a 100 ms exit animation for the alert dialog.
504 This example demonstrates how to set styles of an alert dialog box, including the width, height, ba…
517 Button('one button dialog')
548 console.log("dialog onWillDismiss")
569 This example demonstrates how to set the layout area of a dialog box in hover mode on a foldable de…
577 Button('one button dialog')
597 console.log("dialog onWillDismiss");