/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/dialog/dialog001/ |
H A D | index.js | 21 showDialog() { 23 prompt.showDialog({title: '弹框标题',}); 28 prompt.showDialog({ 51 prompt.showDialog({ 81 prompt.showDialog({ 118 prompt.showDialog({ 163 prompt.showDialog({ 200 prompt.showDialog({message: 'only ShowMessage',}); 205 prompt.showDialog({
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-prompt.md | 54 ## prompt.showDialog 56 showDialog(options: ShowDialogOptions): Promise<ShowDialogSuccessResponse> 78 prompt.showDialog({ 93 console.info('showDialog success, click button: ' + data.index); 96 console.info('showDialog error: ' + err); 102 ## prompt.showDialog 104 showDialog(options: ShowDialogOptions, callback: AsyncCallback<ShowDialogSuccessResponse>):vo… 121 prompt.showDialog({ 122 title: 'showDialog Title Info', 136 console.info('showDialog err: ' + err); [all …]
|
H A D | js-apis-system-prompt.md | 50 ## prompt.showDialog 52 showDialog(options: ShowDialogOptions): void 70 showDialog() { 71 prompt.showDialog({
|
H A D | js-apis-promptAction.md | 82 ## promptAction.showDialog 120 promptAction.showDialog({ 135 console.info('showDialog success, click button: ' + data.index); 138 console.info('showDialog error: ' + err); 149 ## promptAction.showDialog 182 promptAction.showDialog({ 183 title: 'showDialog Title Info', 197 console.info('showDialog err: ' + err); 218 promptAction.showDialog({ 219 title: 'showDialog Title Info', [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-prompt.md | 54 ## prompt.showDialog 56 showDialog(options: ShowDialogOptions): Promise<ShowDialogSuccessResponse> 78 prompt.showDialog({ 93 console.info('showDialog success, click button: ' + data.index); 96 console.info('showDialog error: ' + err); 102 ## prompt.showDialog 104 showDialog(options: ShowDialogOptions, callback: AsyncCallback<ShowDialogSuccessResponse>):vo… 121 prompt.showDialog({ 122 title: 'showDialog Title Info', 136 console.info('showDialog err: ' + err); [all …]
|
H A D | js-apis-system-prompt.md | 50 ## prompt.showDialog 52 showDialog(options: ShowDialogOptions): void 70 showDialog() { 71 prompt.showDialog({
|
H A D | js-apis-promptAction.md | 188 ## promptAction.showDialog 226 promptAction.showDialog({ 241 console.info('showDialog success, click button: ' + data.index); 244 console.info('showDialog error: ' + err); 255 ## promptAction.showDialog 288 promptAction.showDialog({ 289 title: 'showDialog Title Info', 303 console.info('showDialog err: ' + err); 324 promptAction.showDialog({ 325 title: 'showDialog Title Info', [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.2/ |
H A D | changelogs-arkui.md | 51 ## cl.arkui.2 promptAction.showDialog设置主标题超长文本显示效果变更 65 promptAction.showDialog支持通过设置title参数显示主标题: 83 对话框弹窗(promptAction.showDialog)
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-base-dialog-overview.md | 6 …。主要包括警告弹窗 (AlertDialog)、列表选择弹窗 (ActionSheet)、选择器弹窗 (PickerDialog)、对话框 (showDialog)、操作菜单 (showActio… 17 | [对话框 (showDialog)](arkts-fixes-style-dialog.md#对话框-showdialog) | 固定样式,当用户需要对在弹出框响应后异步返回结果进行处理时使用。… 22 * UIContext.getPromptAction.showDialog、UIContext.getPromptAction.showActionMenu、UIContext.getPrompt…
|
H A D | arkts-fixes-style-dialog.md | 11 - 操作菜单 (showActionMenu)、对话框 (showDialog)需先使用UIContext中的[getPromptAction()](../reference/apis-arkui/… 15 操作菜单 (showActionMenu)、对话框 (showDialog)、列表选择弹出框 (ActionSheet)、警告弹出框 (AlertDialog)可以设置isModal为false变成… 54 ## 对话框 (showDialog) 56 对话框通过UIContext中的getPromptAction方法获取到PromptAction对象,再通过该对象调用[showDialog](../reference/apis-arkui/js-… 67 promptAction.showDialog({ 68 title: 'showDialog Title Info', 82 console.error('showDialog err: ' + err); 85 console.info('showDialog success callback, click button: ' + data.index);
|
H A D | arkts-routing.md | 358 自定义询问框的方式,可以使用弹窗[promptAction.showDialog](../reference/apis-arkui/js-apis-promptAction.md#promptact… 367 在事件回调中,调用弹窗的[promptAction.showDialog](../reference/apis-arkui/js-apis-promptAction.md#promptactions… 375 promptAction.showDialog({ 400 console.error(`Invoke showDialog failed, code is ${code}, message is ${message}`);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/ |
H A D | changelogs-arkui.md | 55 …- promptAction.showDialog, promptAction.showActionMenu, alertDialog, actionSheet, customDialog更新弹窗… 63 涉及接口: promptAction.showDialog, promptAction.showActionMenu;
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.2/ |
H A D | changelogs-arkui.md | 51 ## cl.arkui.2 Change in Display of Overflowing Title Text Set Through promptAction.showDialog 65 **promptAction.showDialog** can take the **title** parameter. 83 promptAction.showDialog
|
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/dialog/ |
H A D | DialogHelper.ets | 145 showDialog(title, message, $r('app.string.button_know'), operator); 155 showDialog(null, message, $r('app.string.button_know'), operator); 166 …function showDialog(title: string | Resource, message: string | Resource, confirmText?: string | R…
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | delete-checkboxgroup-items.md | 22 - 删除时弹出确认框:使用promptAction模块调用showDialog方法弹出对话框,通过回调获取到用户点击的是取消按钮还是确定按钮,如果是确定按钮则执行删除操作。 225 使用promptAction模块调用showDialog方法弹出对话框,然后将删除操作绑定到对话框的确定按钮,具体代码如下: 252 promptAction.showDialog({ 326 promptAction.showDialog({
|
H A D | distributed-canvas.md | 73 TitleBar({ rightBtn: $r('app.media.trans'), onRightBtnClicked: this.showDialog }) 74 //自/common/TitleBar.ets中引入标题栏相关。点击标题栏中的右侧按钮会调用showDialog()函数连接组网设备 240 showDialog = () => {
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-base-dialog-overview.md | 6 …ble APIs include **AlertDialog**, **ActionSheet**, **PickerDialog**, **showDialog**, and **showAct… 17 | [showDialog](arkts-fixes-style-dialog.md#common-dialog-box-showdialog)| Used when processing of r… 22 * The **UIContext.getPromptAction.showDialog**, **UIContext.getPromptAction.showActionMenu**, and *…
|
H A D | arkts-fixes-style-dialog.md | 11 - For **showActionMenu** and **showDialog** APIs, you must first call [getPromptAction()](../refere… 15 The dialog boxes created using **showActionMenu**, **showDialog**, **ActionSheet**, or **AlertDialo… 54 ## Common Dialog Box (showDialog) 56 … the **getPromptAction** method in **UIContext** and then calling the [showDialog](../reference/ap… 67 promptAction.showDialog({ 68 title: 'showDialog Title Info', 82 console.error('showDialog err: ' + err); 85 console.info('showDialog success callback, click button: ' + data.index);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.5.1/ |
H A D | changelogs-arkui.md | 134 console.info('showDialog err: ' + err); 137 console.info('showDialog success callback, click button: ' + data.index);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-container-dialog.md | 66 <button type="capsule" value="Click here" class="btn" onclick="showDialog"></button> 135 showDialog() {
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.5.3/ |
H A D | changelogs-arkui.md | 395 该变更为兼容性变更,为AlterDialog、ActionSheet组件以及promptAction的showDialog和showActionMenu这几种弹窗的接口添加CustomDialog组… 409 API 11及以后,AlterDialog、CustomDialog、ActionSheet组件以及promptAction的showDialog和showActionMenu接口创建的弹窗都有sh… 467 该变更为兼容性变更,为AlterDialog、CustomDialog、ActionSheet组件以及promptAction的showDialog和showActionMenu这几种弹窗的接口添加…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-container-dialog.md | 68 <button type="capsule" value="Click here" class="btn" onclick="showDialog"></button> 137 showDialog() {
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTest/ |
H A D | BrInterfaceTest.ets | 158 showDialog( 169 showDialog( 298 function showDialog(dialogTitle: string | Resource , dialogMessage: string | Resource , buttonValue…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/ |
H A D | brTestManager.ets | 156 showDialog( 167 showDialog( 294 function showDialog(dialogTitle: string | Resource , dialogMessage: string | Resource , buttonValue…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTest/subSppTest/ |
H A D | sppServerTest.ets | 211 showDialog( 222 showDialog( 357 function showDialog(dialogTitle: string | Resource , dialogMessage: string | Resource , buttonValue…
|