harmony 鸿蒙@ohos.promptAction (Prompt) (System API)
@ohos.promptAction (Prompt) (System API)
The PromptAction module provides APIs for creating and showing toasts, dialog boxes, and action menus.
NOTE
The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version.
This topic describes only the system APIs provided by the module. For details about its public APIs, see @ohos.promptAction (Prompt).
Modules to Import
import { promptAction } from '@kit.ArkUI';
ToastShowMode
Describes the mode in which the toast is shown.
System API: This is a system API.
System capability: SystemCapability.ArkUI.ArkUI.Full
Name | Value | Description |
---|---|---|
SYSTEM_TOP_MOST | 2 | The toast is displayed in a window of the TYPE_SYSTEM_TOAST type. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent
harmony 鸿蒙ARKUI_TextPickerRangeContent
harmony 鸿蒙ArkUI_AnimateCompleteCallback
harmony 鸿蒙ArkUI_ContextCallback
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦